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

Discussion in 'Python' started by Ned Deily, Nov 13, 2013.

  1. Ned Deily

    Ned Deily Guest

    In article <>,
    Ned Deily <> 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,
     
    Ned Deily, Nov 13, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul Smith
    Replies:
    0
    Views:
    96
    Paul Smith
    Nov 13, 2013
  2. Ned Deily
    Replies:
    0
    Views:
    146
    Ned Deily
    Nov 13, 2013
  3. Ned Deily
    Replies:
    0
    Views:
    120
    Ned Deily
    Nov 14, 2013
  4. Paul Smith
    Replies:
    0
    Views:
    93
    Paul Smith
    Nov 13, 2013
  5. Ned Deily
    Replies:
    0
    Views:
    100
    Ned Deily
    Nov 14, 2013
Loading...

Share This Page