[mod_python] Re: mod_python and SQLAlchemy don't mix?

Gambit gambit at alpenjodel.de
Fri Jun 8 22:22:13 EDT 2007


These are the results of running ldd on the python and php dirs:

/usr/lib/python2.4/site-packages
ldd *.so | grep mysql
_mysql.so:
	libmysqlclient_r.so.14 => /usr/lib/libmysqlclient_r.so.14 (0x0025a000)

/usr/lib/php/modules
ldd *.so | grep mysql
mysqli.so:
	libmysqlclient.so.14 => /usr/lib/libmysqlclient.so.14 (0x0036c000)
mysql.so:
	libmysqlclient.so.14 => /usr/lib/libmysqlclient.so.14 (0x00111000)
	libmysqlclient.so.14 => /usr/lib/libmysqlclient.so.14 (0x0042a000)


I guess this advice applies...

> one version is reentrant and the other isn't, you will need to 
> recompile one or both of the packages such that they use the same library.



More information about the Mod_python mailing list