What is the output of running:
ls -las /usr/lib/httpd/modules/mod_wsgi.so
file /usr/lib/httpd/modules/mod_wsgi.so
ldd /usr/lib/httpd/modules/mod_wsgi.so
strings /usr/lib/httpd/modules/mod_wsgi.so | grep AP2
/usr/sbin/httpd -v
Graham
2008/9/23 nerdydork <dustin...@gmail.com>:
If there is no AP22 string, then possibly you have compiled against
Apache 1.3. Try doing this again but use:
strings -a /usr/lib/httpd/modules/mod_wsgi.so | grep AP2
Do you have Apache 1.3 installed on the system, or perhaps do you have
the wrong apache-dev package installed, such that you actually have
header files for Apache 1.3 installed?
Use your packaging system to work out what the runtime and development
packages related to Apache are that you have installed and post the
names here. If you are using 'apache2', you must have 'apache2-dev'
and not 'apache-dev'.
Post the output from when you ran 'make' to build mod_wsgi. Also from
that, work out where Apache header files are installed, possibly
/usr/include/httpd and look in that directory. If there is an
ap_release.h header file it is indeed Apache 2.2. If not then it is
Apache 1.3.
Graham
Does the file:
/usr/local/apache/bin/apxs
exist?
If it does, when you run 'configure' for Apache say:
./configure --with-apxs=/usr/local/apache/bin/apxs
If it doesn't, how did /usr/local/apache directory come to be installed?
Graham