Re: it's a shame... python error over error

Liste des GroupesRevenir à cl python 
Sujet : Re: it's a shame... python error over error
De : torriem (at) *nospam* gmail.com (Michael Torrie)
Groupes : comp.lang.python
Date : 14. Dec 2024, 16:27:29
Autres entêtes
Message-ID : <mailman.2.1734190054.2912.python-list@python.org>
References : 1 2 3 4 5
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
On 12/13/24 1:56 PM, aotto1968 via Python-list wrote:
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.

You're mistaken in this case.  Nothing you've posted indicates the
problem is in Python itself.  Something isn't quite right with your
linker and the linker search paths.  LD_LIBRARY_PATH is one way to force
the linker to use the correct search path.

Python has no direct influence over the linker search paths, other than
to list what shared libraries it is linked against, or to manually add
paths to the linker in /etc/ld.so.conf.d/ during package installation.
The ld.so linker is responsible for finding the files and linking them
in, not Python. In your case it seems unable to do so, for whatever
reason. Since your custom version of python3 does seem to link to the so
properly, it seems as though something isn't right in the environment of
the mono build process.  Again, nothing to do with Python.  The linker
isn't even getting to the bit where it links in libpython3.



Date Sujet#  Auteur
13 Dec 24 * it's a shame... python error over error15aotto1968
13 Dec 24 +* Re: it's a shame... python error over error2aotto1968
13 Dec 24 i`- Re: it's a shame... python error over error1aotto1968
13 Dec 24 +* Re: it's a shame... python error over error3Barry
13 Dec 24 i`* Re: it's a shame... python error over error2aotto1968
14 Dec 24 i `- Re: it's a shame... python error over error1Michael Torrie
14 Dec 24 +* Re: it's a shame... python error over error4Peter J. Holzer
14 Dec 24 i`* Re: it's a shame... python error over error3aotto1968
14 Dec 24 i +- Re: it's a shame... python error over error1Chris Angelico
15 Dec 24 i `- Re: it's a shame... python error over error1Michael Torrie
14 Dec 24 +- Re: it's a shame... python error over error1Michael Torrie
16 Dec08:08 `* Re: it's a shame... python error over error4aotto1968
16 Dec16:30  +- Re: it's a shame... python error over error1Peter J. Holzer
16 Dec20:06  +- Re: it's a shame... python error over error1Grant Edwards
18 Dec05:30  `- Re: it's a shame... python error over error1Michael Torrie

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal