Python and M2Crypto question

Graham Dumpleton Graham.Dumpleton at gmail.com
Mon Sep 8 01:02:25 CEST 2008


On Sep 7, 11:07 pm, Bojan Mihelac <bmihe... at gmail.com> wrote:
> 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



More information about the Python-list mailing list