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


Groups > comp.lang.python > #89544

Re: Question Installing latest Python

References (8 earlier) <554072b7$0$11102$c3e8da3@news.astraweb.com> <61c897c7-d5bc-4c14-8c38-9850981a8858@googlegroups.com> <55407f05$0$2924$c3e8da3$76491128@news.astraweb.com> <45e48150-1ebc-40aa-90b0-af18109d33da@googlegroups.com> <5540c3bd$0$12998$c3e8da3$5496439d@news.astraweb.com>
Date 2015-04-29 22:02 +1000
Subject Re: Question Installing latest Python
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.84.1430308927.3680.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Apr 29, 2015 at 9:42 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> On Wed, 29 Apr 2015 04:57 pm, Φώντας Λαδοπρακόπουλος wrote:
>
>> Thank you very much Steven!
>>
>> Indeed it worked!!
>>
>> One last thing. Can you please explain to me inplain English what exactly
>> was that weird problem?
>
> Probably not. I'm not a C expert and don't really understand in full detail
> how dynamic shared libraries work.
>
> I *think* the problem was that Python was built to use dynamic libraries,
> but couldn't find them. I'm not sure how that works at the C level, but my
> guess is that it is something like importing a Python module. The Python
> executable couldn't find the libpython3.3m.so.1.0 shared library, so you
> used ldconfig to tell it where to find it.

I haven't been seeing posts from Φώντας, only the replies from Steven,
so I'm guessing something isn't crossing the news->mailing list
boundary for some reason. As a result, my understanding of the problem
is a bit spotty, but it seems there may be a chroot involved here.

>> [root@secure ~]# /opt/rh/python33/root/usr/bin/python -V
>> /opt/rh/python33/root/usr/bin/python: error while loading shared
>> libraries: libpython3.3m.so.1.0: cannot open shared object file: No such
>> file or directory

So it's possible that the chroot didn't have the correct
/etc/ld.so.conf.d entry for your Python binary, and thus the dynamic
linker couldn't find the shared library.

Beyond that, I don't really know enough about what's going on, sorry.
But maybe that's a starting point for an investigation.

ChrisA

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


Thread

Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-04-26 08:00 -0700
  Re: Question Installing latest Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-27 01:05 +1000
    Re: Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-04-26 08:11 -0700
      Re: Question Installing latest Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-28 00:55 +1000
        Re: Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-04-28 00:02 -0700
          Re: Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-04-28 12:26 -0700
            Re: Question Installing latest Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-29 08:43 +1000
              Re: Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-04-28 19:50 -0700
                Re: Question Installing latest Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-29 15:57 +1000
                Re: Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-04-28 23:13 -0700
                Re: Question Installing latest Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-29 16:49 +1000
                Re: Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-04-28 23:57 -0700
                Re: Question Installing latest Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-29 21:42 +1000
                Re: Question Installing latest Python Chris Angelico <rosuav@gmail.com> - 2015-04-29 22:02 +1000
                Re: Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-04-29 23:00 -0700
                Re: Question Installing latest Python Φώντας Λαδοπρακόπουλος <nikos.gr33k@gmail.com> - 2015-05-01 05:22 -0700

csiph-web