[mod_python] mod_python compiling an empty .so file?

Dylan Shortt dylanshortt at gmail.com
Sat Jan 17 18:38:05 EST 2009

Hi. Does anybody have any ideas as to why the .so file in my apache modules
directory is not compiling correctly?

I have mod_python.so in my apache2/modules dir, but everytime that I try to
start apache (with all the directives, LoadModule and such) this shows up:

httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot
load /usr/local/apache2/modules/mod_python.so into server:
/usr/local/apache2/modules/mod_python.so: file too short

Checking the file, it appears to be a blank file, no characters or anything.
But if I delete it and recompile from source, it gets recreated, again, with
nothing in it.

This is using Debian, mod_python 3.3.1 and Python 2.6. I've recompiled
Python with --enable-shared a few times now but to no avail.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20090117/d654e49c/attachment.html

More information about the Mod_python mailing list