On Mar 20, 2005, at 4:26 PM, Jim Muller wrote:

A question from a new mod_python user:

When I run within an otherwise working apache2/mod_python, if my script imports MySQLdb I get a dyld compability version error:

        File "/Users/jim/Sites/WatchEvents.py", line 97, in ?
    import MySQLdb,  pickle

File "/opt/local/lib/python2.4/site-packages/MySQLdb/__init__.py", line 27, in ?
import _mysql


ImportError: Failure linking new module: /opt/local/lib/libssl.0.9.7.dylib: dyld: /opt/local/apache2/bin/httpd version mismatch for library: /opt/local/lib/libssl.0.9.7.dylib (compatibility version of user: 0.9.7 greater than library's version: 0.9.0)

This is a darwinports problem. If you ask over there, you'll get a good response as to what needs to be rebuilt in order to fix this.


-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to