Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197062

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

From Michael Torrie <torriem@gmail.com>
Newsgroups comp.lang.python
Subject Re: it's a shame... python error over error
Date 2024-12-14 08:27 -0700
Message-ID <mailman.2.1734190054.2912.python-list@python.org> (permalink)
References <vjh2mh$3bu1o$1@dont-email.me> <E8C75A2F-798A-4C99-93F9-1B8870C3AA8C@barrys-emacs.org> <mailman.0.1734115968.2912.python-list@python.org> <vji72m$3ju1l$1@dont-email.me> <5e184152-6b91-6c81-4df6-5c761e13c232@gmail.com>

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-13 11:36 +0100
  Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-13 11:44 +0100
    Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-13 11:49 +0100
  Re: it's a shame... python error over error Barry <barry@barrys-emacs.org> - 2024-12-13 18:24 +0000
    Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-13 21:56 +0100
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-14 08:27 -0700
  Re: it's a shame... python error over error "Peter J. Holzer" <hjp-python@hjp.at> - 2024-12-14 10:56 +0100
    Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-14 18:31 +0100
      Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2024-12-15 06:12 +1100
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-14 22:21 -0700
  Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-14 08:30 -0700
  Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-16 08:08 +0100
    Re: it's a shame... python error over error "Peter J. Holzer" <hjp-python@hjp.at> - 2024-12-16 16:30 +0100
    Re: it's a shame... python error over error Grant Edwards <grant.b.edwards@gmail.com> - 2024-12-16 14:06 -0500
    Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-17 21:30 -0700
  Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-25 12:05 +0100
    Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-25 12:20 +0100
      Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2024-12-26 09:55 +1100
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-26 08:34 +0100
          Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2024-12-30 17:10 +1100
          Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-30 10:29 -0700
            Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2025-01-03 23:16 +0100
              Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2025-01-04 09:25 +1100
              Re: it's a shame... python error over error (Posting On Python-List Prohibited) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-03 23:17 +0000
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-25 20:55 -0700
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-26 08:42 +0100
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-26 08:47 +0100
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-25 20:57 -0700
      Re: it's a shame... python error over error Chris Angelico <rosuav@gmail.com> - 2024-12-26 16:46 +1100
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-26 08:35 +0100
      Re: it's a shame... python error over error Michael Torrie <torriem@gmail.com> - 2024-12-26 11:33 -0700
        Re: it's a shame... python error over error aotto1968 <aotto1968@t-online.de> - 2024-12-27 07:46 +0100

csiph-web