Skip to content

Incorrect installation of lib-dynload for custom builds on openSUSE #131425

Description

@intel-hm

Bug report

Bug description:

from Python-3.13.2.tar.xz

./configure --prefix=$RUN/python/3.13.2
make -j 16
make -j 4 install

dynamic libraries are installed to $RUN/3.13.2/lib64/python3.13/lib-dynload
but internally sys.path uses $RUN/3.13.2/lib/python3.13/lib-dynload

setting a link resolves the

errors that show up:

>python3**Couldnotfindplatformdependentlibraries<exec_prefix>**Python3.13.2 (main, Mar182025, 10:25:05) [GCC7.5.0] onlinuxType"help", "copyright", "credits"or"license"formoreinformation.
**warning: can't use pyrepl: No module named '_opcode'**pip3downloadpipwheelsetuptools ...
from_posixsubprocessimportfork_execas_fork_exec**ModuleNotFoundError: Nomodulenamed'_posixsubprocess'**

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions