Python and M2Crypto question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bojan Mihelac

    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
  • Graham Dumpleton

    #2
    Re: Python and M2Crypto question

    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:



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

    Graham

    Comment

    • Bojan Mihelac

      #3
      Re: Python and M2Crypto question

      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

      Comment

      Working...