Sujet : Re: it's a shame... python error over error
De : barry (at) *nospam* barrys-emacs.org (Barry)
Groupes : comp.lang.pythonDate : 13. Dec 2024, 19:24:29
Autres entêtes
Message-ID : <mailman.0.1734115968.2912.python-list@python.org>
References : 1 2
User-Agent : iPad Mail (22C152)
On 13 Dec 2024, at 15:54, aotto1968 via Python-list <python-list@python.org> wrote:
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
This is a debug build?
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