Deutsch English Français Italiano |
<vji72m$3ju1l$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: aotto1968 <aotto1968@t-online.de> Newsgroups: comp.lang.python Subject: Re: it's a shame... python error over error Date: Fri, 13 Dec 2024 21:56:54 +0100 Organization: A noiseless patient Spider Lines: 27 Message-ID: <vji72m$3ju1l$1@dont-email.me> References: <vjh2mh$3bu1o$1@dont-email.me> <E8C75A2F-798A-4C99-93F9-1B8870C3AA8C@barrys-emacs.org> <mailman.0.1734115968.2912.python-list@python.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 13 Dec 2024 21:56:55 +0100 (CET) Injection-Info: dont-email.me; posting-host="23d41c05675a617b44c2c1d1b1a1ed81"; logging-data="3799093"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Zz6NhHFaMqr78uD5IjcN5Q0zCtUp/lNg=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:15MikVOM5VZQuVTngtaeb4Zri5o= In-Reply-To: <mailman.0.1734115968.2912.python-list@python.org> Content-Language: en-US Bytes: 2223 On 13.12.24 19:24, Barry wrote: > > >> 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 > > the problem is *not* to setup an environment variable, the problem is that python is *not* able to setup the *python* environment by it self.