[mod_python] old libexpat shared library

Luyi Chen lychen1109 at gmail.com
Sat Apr 5 06:45:03 EDT 2008


Hi,

I am trying to make mod_python working on Apache 2.2.6, ubuntu dapper
6.06. But I was hit by the problem of wrong expat library issue, as
stated by Graham Dumpleton, on this page
http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash

I am using a custom compiled Apache2 in /usr/local/apache2, so I
checked version of libexpat with the following line,

ldd /usr/local/apache2/bin/httpd

in the result there're two lines
 libexpat.so.0 => /usr/local/apache2/lib/libexpat.so.0 (0x00002b4f4e1c5000)
 libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002b4f4e2e7000)

The one in /usr/local/apache2/lib is an old version 1.95.2, while the
one in /usr/lib is 1.95.8, which is identical to the version of
libexpat used by python.

How do I tell Apache to use the new version of libexpat only?

Luyi


More information about the Mod_python mailing list