[Pythonmac-SIG] mod_python / lib compatibility question
bob at redivi.com
Mon Mar 21 00:01:41 CET 2005
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:
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.
More information about the Pythonmac-SIG