Liste des Groupes | Revenir à cl python |
the problem is *not* to setup an environment variable, the problem is that python is *not*On 13 Dec 2024, at 15:54, aotto1968 via Python-list <python-list@python.org> wrote:This is a debug build?
>
HOME/ext/x86_64-suse-linux-gnu/debug/bin/python3: error while loading shared libraries: libpython3.12d.so.1.0: cannot open shared object file: No such file or directory
Try setting LD_LIBRARY_PATH to point at the folder that contains the .so.
Test with `ldd python3` which will show which .so libs python3 needs and if they are found.
This is what I see on Fedora 41 as an example of the output.
$ ldd /usr/bin/python3
linux-vdso.so.1 (0x0000ffffb8515000)
libpython3.13.so.1.0 => /lib64/libpython3.13.so.1.0 (0x0000ffffb7ea0000)
libc.so.6 => /lib64/libc.so.6 (0x0000ffffb7cd0000)
libm.so.6 => /lib64/libm.so.6 (0x0000ffffb7c20000)
/lib/ld-linux-aarch64.so.1 (0x0000ffffb84d0000)
Barry
Les messages affichés proviennent d'usenet.