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


Groups > comp.lang.python > #59351

Re: python 2.7.x on MacOSX: failed dlopen() on .so's

Path csiph.com!usenet.pasdenom.info!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'variables': 0.07; 'dependency': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'suggestions:': 0.09; 'variables.': 0.09; 'python': 0.11; 'suggest': 0.14; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:failed': 0.16; 'sure.': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'library': 0.18; 'trying': 0.19; 'header:User-Agent:1': 0.23; "shouldn't": 0.24; 'subject: .': 0.24; 'environment': 0.24; 'source': 0.25; 'least': 0.26; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'building': 0.35; 'there': 0.35; 'charset:us- ascii': 0.36; 'should': 0.36; 'too': 0.37; 'starting': 0.37; 'problems': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you've": 0.63; 'received:204': 0.75; 'article': 0.77; 'friends': 0.81; '*really*': 0.84; 'env': 0.84; 'pycrypto': 0.84; 'received:204.14': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: python 2.7.x on MacOSX: failed dlopen() on .so's
Date Wed, 13 Nov 2013 14:44:51 -0800
References <1384370183.3496.472.camel@pdsdesk> <nad-E7CC3B.14401113112013@news.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.233
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.2559.1384383006.18130.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384383006 news.xs4all.nl 15962 [2001:888:2000:d::a6]:49435
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59351

Show key headers only | View raw


In article <nad-E7CC3B.14401113112013@news.gmane.org>,
 Ned Deily <nad@acm.org> wrote:
> There shouldn't be any problems with what you are trying to do.  It works for 
> me with Python 2.7.6 and pycrypto-2.6.1.  Some suggestions:
> - Avoid --enable-shared on OS X at least initially.  There are too many ways 
> things can go wrong.  If you've built with it, suggest starting with a fresh 
> Python source directory just to be sure.
> - Check the dynamic library dependencies of _struct.  On OS X:
> 
>   otool -L /Users/build/python/lib/python2.7/lib-dynload/_struct.so
> 
> For a non-shared build, the only library dependency should be 
> /usr/lib/libSystem.B.dylib.
> - Make sure you are *really* building pycrypto and friends with your Python 
> and not with some other one.
> - On OS X with an installed Python, you shouldn't need to set PYTHONHOME.

- Check your other environment variables and make sure you are not setting any 
DYLD_ or LD_ env variables.

-- 
 Ned Deily,
 nad@acm.org

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


Thread

Re: python 2.7.x on MacOSX: failed dlopen() on .so's Ned Deily <nad@acm.org> - 2013-11-13 14:44 -0800

csiph-web