[mod_python] Trouble compiling mod_python

Graham Dumpleton grahamd at dscpl.com.au
Mon Feb 6 19:09:52 EST 2006

This looks more to be a problem with your Python installation and is
not a problem with mod_python. Ie., somehow your Python installation
has been configured to use a bunch of libraries that don't exist on
your system or are in a non standard location.

Suggest you find a simpler third party Python package with happens
to also have a C code component. Ie., something like cElementTree
perhaps, and try and build it. If it fails, then you will need to fix your
Python installation before trying mod_python again.


Fleming, Brian J. wrote ..
> Apache 2.2.0
> mod_python-3.2.5b
> Python 2.4.1
> If you're up for another challenge, mod_python doesn't compile.
> crypto -lnsl -L/usr/local/TclTk/8.3.4/lib -R/usr/local/TclTk/8.3.4/lib
> -ltk8.3 -ltcl8.3 -L/usr/openwin/lib -lX11 -L/usr/local/gnu/lib -lgdbm
> -L/usr/local/lib -lz
> *** Warning: Linking the shared library mod_python.la against the
> *** static library
> /usr/local/Python/2.4.1/lib/python2.4/config/libpython2.4.a is not
> portable!
> ld: fatal: library -lssl: not found
> ld: fatal: library -lcrypto: not found
> ld: fatal: File processing errors. No output written to
> .libs/mod_python.so
> apxs:Error: Command failed with rc=65536
> .
> make[1]: *** [mod_python.so] Error 1
> make[1]: Leaving directory
> `/home/bfleming/downloads/mod_python-3.2.5b/src'
> make: *** [do_dso] Error 2
> ============================================================
> The information contained in this message may be privileged
> and confidential and protected from disclosure. If the reader
> of this message is not the intended recipient, or an employee
> or agent responsible for delivering this message to the
> intended recipient, you are hereby notified that any reproduction,
> dissemination or distribution of this communication is strictly
> prohibited. If you have received this communication in error,
> please notify us immediately by replying to the message and
> deleting it from your computer. Thank you. Tellabs
> ============================================================

More information about the Mod_python mailing list