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


Groups > comp.lang.python > #59564 > unrolled thread

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

Started byPaul Smith <paul@mad-scientist.net>
First post2013-11-15 17:23 -0500
Last post2013-11-15 17:23 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: python 2.7.x on MacOSX: failed dlopen() on .so's Paul Smith <paul@mad-scientist.net> - 2013-11-15 17:23 -0500

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

FromPaul Smith <paul@mad-scientist.net>
Date2013-11-15 17:23 -0500
SubjectRe: python 2.7.x on MacOSX: failed dlopen() on .so's
Message-ID<mailman.2686.1384554614.18130.python-list@python.org>
On Thu, 2013-11-14 at 10:36 -0800, Ned Deily wrote:
> In article <1384442536.3496.532.camel@pdsdesk>,
>  Paul Smith <paul@mad-scientist.net> wrote:
> [...]
> > By relocatable I mean "runnable from any location"; i.e., not fixed.  I
> > have a wrapper around the Python executable that can compute the correct
> > root directory and set any environment variables or add flags or
> > whatever might be needed.
> 
> In that case, the python.org installer may not be a good choice.  You should 
> be to accomplish what you want by building your own Python.   You'll probably 
> find you were getting tripped up by unnecessarily setting environment 
> variables.  Good luck!

Thanks Ned.  I got sidetracked for a while but I got back to this now,
and I found my problem.

The makefile I was using to control the build on Linux was stripping the
python executable to make it smaller.

However, stripping the python executable on MacOSX breaks it completely
so it can't load its shared libraries and I get errors as in my original
message.  If I remove the "strip" operation, then everything starts to
work as expected.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web