Python and M2Crypto question

B

Bojan Mihelac

Hi all!

I am trying to install M2Crypto to work on OSX10.5 apache
(mod_python). Error I receive:

Error was: dlopen(/Library/WebServer/eggs/M2Crypto-0.18.2-py2.5-
macosx-10.5-i386.egg-tmp/M2Crypto/__m2crypto.so, 2): no suitable image
found. Did find:
/Library/WebServer/eggs/M2Crypto-0.18.2-py2.5-macosx-10.5-i386.egg-
tmp/M2Crypto/__m2crypto.so: no matching architecture in universal
wrapper

I guess that have to do something with x64 architecture but I am
stucked and not able to find a way and to make this work. M2Crypto lib
works good stand alone.

Any help appreciated,
Bojan
 
G

Graham Dumpleton

Hi all!

I am trying to install M2Crypto to work on OSX10.5 apache
(mod_python). Error I receive:

Error was: dlopen(/Library/WebServer/eggs/M2Crypto-0.18.2-py2.5-
macosx-10.5-i386.egg-tmp/M2Crypto/__m2crypto.so, 2): no suitable image
found.  Did find:
        /Library/WebServer/eggs/M2Crypto-0.18.2-py2.5-macosx-10.5-i386.egg-
tmp/M2Crypto/__m2crypto.so: no matching architecture in universal
wrapper

I guess that have to do something with x64 architecture but I am
stucked and not able to find a way and to make this work. M2Crypto lib
works good stand alone.

See:

http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX#Missing_Code_For_Architecture

This is mod_wsgi documentation, but same issue applies to mod_python.

Graham
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top