Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
intel-hm opened this issue Mar 18, 2025 · 1 comment
Open

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

intel-hm opened this issue Mar 18, 2025 · 1 comment
Labels
OS-linux topic-installation type-bug An unexpected behavior, bug, or error

Comments

@intel-hm
Copy link

intel-hm commented Mar 18, 2025

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
Could not find platform dependent libraries <exec_prefix>
Python 3.13.2 (main, Mar 18 2025, 10:25:05) [GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
warning: can't use pyrepl: No module named '_opcode'

pip3 download pip wheel setuptools
...
from _posixsubprocess import fork_exec as _fork_exec
ModuleNotFoundError: No module named '_posixsubprocess'

CPython versions tested on:

3.13

Operating systems tested on:

Linux

@intel-hm intel-hm added the type-bug An unexpected behavior, bug, or error label Mar 18, 2025
@picnixz
Copy link
Member

picnixz commented Mar 18, 2025

As an openSUSE user, I had this problem as well. I think I did a combination of --exec-prefix=... and altinstall. I can't remember exactly the command and I won't be back until Sunday. I can check at that time.

@picnixz picnixz changed the title installation form source on "openSUSE Leap 15.5" and "SUSE Linux Enterprise Server 15 SP6" - incorrect location of python3.13/lib-dynload Incorrect installation of lib-dynload for custom builds on openSUSE Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-linux topic-installation type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants