468,257 Members | 1,452 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,257 developers. It's quick & easy.

Python and M2Crypto question

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
Sep 7 '08 #1
2 1657
On Sep 7, 11:07*pm, Bojan Mihelac <bmihe...@gmail.comwrote:
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/wik...r_Architecture

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

Graham
Sep 7 '08 #2
Graham, thanks, I will try with that.

On Sep 8, 1:02*am, Graham Dumpleton <Graham.Dumple...@gmail.com>
wrote:
On Sep 7, 11:07*pm, Bojan Mihelac <bmihe...@gmail.comwrote:
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/wik...OSX#Missing_Co....

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

Graham
Sep 9 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Abhisek Datta | last post: by
6 posts views Thread by matey | last post: by
852 posts views Thread by Mark Tarver | last post: by
113 posts views Thread by John Nagle | last post: by
2 posts views Thread by reizes | last post: by
1 post views Thread by Jean-Paul Calderone | last post: by
reply views Thread by Mailing List SVR | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.