[mod_python] mod_python with xmlrplib

Chris Jackson christopher.jackson at gmail.com
Thu Jan 27 14:33:16 EST 2005


Problem solved!

Yes, pyexpat is statically linked with the latest version of expat
since it's Python-2.4.
So I upgraded the dynamic libexpat used by apache removing old expat
libraries and compiling the new expat-1.95.8 library. Then I  copied
those files to the proper chrooted directory, and viola!

~= Chris =~

P.S. Thanks everyone for the info! 



On Thu, 27 Jan 2005 10:21:02 -0500 (EST), Gregory (Grisha) Trubetskoy
<grisha at modpython.org> wrote:
> 
> On Wed, 26 Jan 2005, Chris Jackson wrote:
> 
> > My results:
> >
> > ldd httpd
> > ======
> >        linux-gate.so.1 =>  (0xffffe000)
> >        libaprutil-0.so.0 => /usr/local/apache/lib/libaprutil-0.so.0
> > (0x40018000)
> >        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40037000)
> >        libapr-0.so.0 => /usr/local/apache/lib/libapr-0.so.0 (0x40059000)
> >        librt.so.1 => /lib/tls/librt.so.1 (0x40079000)
> >        libm.so.6 => /lib/tls/libm.so.6 (0x4008d000)
> >        libcrypt.so.1 => /lib/libcrypt.so.1 (0x400b0000)
> >        libnsl.so.1 => /lib/libnsl.so.1 (0x400dd000)
> >        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x400f0000)
> >        libdl.so.2 => /lib/libdl.so.2 (0x40101000)
> >        libc.so.6 => /lib/tls/libc.so.6 (0x40104000)
> >        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> >
> > ldd lib-dynload/pyexpat.so
> > ==================
> >        linux-gate.so.1 =>  (0xffffe000)
> >        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40040000)
> >        libc.so.6 => /lib/tls/libc.so.6 (0x40051000)
> >        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> 
> So this looks like httpd is using a dynamic libexpat, while pyexpat.so
> doesn't which means it is probably statically linked?
> 
> Grisha
>


More information about the Mod_python mailing list