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


Groups > comp.lang.python > #89544

Re: Question Installing latest Python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'importing': 0.05; 'subject:Python': 0.06; 'level,': 0.07; 'problem?': 0.07; 'result,': 0.07; 'subject:Question': 0.07; 'executable': 0.09; 'linker': 0.09; 'skip:/ 10': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'binary,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guessing': 0.16; 'reason.': 0.16; 'weird': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'bit': 0.19; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'error': 0.23; 'library,': 0.24; "haven't": 0.24; 'cc:2**0': 0.24; 'posts': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'correct': 0.29; 'on,': 0.29; 'thus': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'work.': 0.31; 'boundary': 0.31; "d'aprano": 0.31; 'file:': 0.31; 'libraries': 0.31; 'loading': 0.31; 'skip:\xce 30': 0.31; 'steven': 0.31; 'file': 0.32; 'probably': 0.32; 'open': 0.33; 'guess': 0.33; 'not.': 0.33; 'maybe': 0.34; 'problem': 0.35; 'something': 0.35; 'beyond': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'library.': 0.36; 'module.': 0.36; 'replies': 0.36; "didn't": 0.36; 'entry': 0.36; 'possible': 0.36; 'detail': 0.37; 'list': 0.37; 'starting': 0.37; 'thank': 0.38; 'pm,': 0.38; 'that,': 0.38; 'explain': 0.39; "couldn't": 0.39; 'sure': 0.39; 'enough': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'tell': 0.60; 'full': 0.61; 'such': 0.63; 'skip:n 10': 0.64; '8bit%:92': 0.71; '8bit%:100': 0.72; '2015': 0.84; 'skip:/ 30': 0.84; 'subject:latest': 0.84; 'sorry.': 0.91; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=hxEZLxiO8/WKLDK0fUwgGs7obP9p2w6nj2lji87eFBY=; b=gSqqgpasH79clnmFpJmM7qv+44rTgVYEjDaeu1bVWRyCBvSlzk3MUIrNPffgYBWV22 ndteAjan1EUUMtFpNo4WUUFtCUjngBqy2Ns9z6i4zT2vX23W2GOcppYgB99l48YziSZt yllMq4CyDevPlBiZpaYn3WPW0nvCJBEjH6FfpV/gEiPnnIyamWQLcpzoQm5NnoCNeGUK QCiFS6pmy/Xce/zjNVOAMuODHFDVbDcUEJ1n4FPOg5vMOGDdQDPMq8EPPzSjjjzSOvaa chZwasaKVJ6hmCZtls2tG6B8hczLc0+9AA72mJacYSUtuQ5+Ac7vBlJcBtEaJ7hE8tDX xnSQ==
MIME-Version 1.0
X-Received by 10.50.114.35 with SMTP id jd3mr27014847igb.14.1430308924061; Wed, 29 Apr 2015 05:02:04 -0700 (PDT)
In-Reply-To <5540c3bd$0$12998$c3e8da3$5496439d@news.astraweb.com>
References <70cf8ca0-beea-4f01-b962-beab1d54d2fd@googlegroups.com> <553cfec1$0$12998$c3e8da3$5496439d@news.astraweb.com> <c9c7c7ae-e5d8-4340-94fa-7216b353fc39@googlegroups.com> <553e4dd4$0$13004$c3e8da3$5496439d@news.astraweb.com> <b19f41e9-a3f5-47c2-b590-3c7a1e396094@googlegroups.com> <a2307bce-678d-4baf-a8d9-cb56278ff8bb@googlegroups.com> <55400cf5$0$13009$c3e8da3$5496439d@news.astraweb.com> <4d416348-6918-4674-b0c6-7ac2c04c5307@googlegroups.com> <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 Wed, 29 Apr 2015 22:02:04 +1000
Subject Re: Question Installing latest Python
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.84.1430308927.3680.python-list@python.org> (permalink)
Lines 44
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430308927 news.xs4all.nl 2905 [2001:888:2000:d::a6]:40612
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 6347
X-Received-Body-CRC 2199291803
Xref csiph.com comp.lang.python:89544

Show key headers only | 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