[mod_python] compiling mod_python with httpd 2.2.2

Andrew Steele asteele at directcd.com.au
Thu Jun 29 03:11:42 EDT 2006

I am also having problems compiling mod_python 3.2.8 against httpd 2.2.2 
on Redhat Linux 7.3 with an updated version of flex and Python 2.4.3

Here are the last few lines

/usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_python.la 
-rpath /usr/local/apache2/modules -module -avoid-version    hlistobject.lo 
hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo 
tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo 
-L/usr/local/lib/python2.4/config -Xlinker -export-dynamic -lm -lpython2.4 
-lpthread -ldl -lutil -lm -Wl,--rpath -Wl, -L -ldb-4.4

/usr/bin/ld: cannot open mod_python.so: No such file or directory
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
make[1]: *** [mod_python.so] Error 1
make[1]: Leaving directory 
make: *** [do_dso] Error 2


More information about the Mod_python mailing list