Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59564 > unrolled thread
| Started by | Paul Smith <paul@mad-scientist.net> |
|---|---|
| First post | 2013-11-15 17:23 -0500 |
| Last post | 2013-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.
Re: python 2.7.x on MacOSX: failed dlopen() on .so's Paul Smith <paul@mad-scientist.net> - 2013-11-15 17:23 -0500
| From | Paul Smith <paul@mad-scientist.net> |
|---|---|
| Date | 2013-11-15 17:23 -0500 |
| Subject | Re: 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.
Back to top | Article view | comp.lang.python
csiph-web