[mod_python] mod_python.so: undefined symbol: ap_loaded_modules

Mark Dokter dokter at icg.tu-graz.ac.at
Tue Nov 15 19:18:18 EST 2005


I have a messed up python/mod_python installation. First, the apache log gave 
me: [error] make_obcallback: could not import mod_python.apache.\n

Then I tried to import mod_python from the python interpreter. I noticed 
that /usr/lib/apache2/modules was not in sys.path, so I added it, then I got 
the following error: 
ImportError: ./mod_python.so: undefined symbol: ap_loaded_modules

Does somebody have a clue, because I don't :(

My setup:
Debian testing, kernel 2.6.12
python/testing 2.3.5-3
libapache2-mod-python/testing 3.1.3-3
apache2/testing 2.0.54-5
['', '/usr/local/lib/python23.zip', '/usr/local/lib/python2.3', 
'/usr/local/lib/python2.3/plat-linux2', '/usr/local/lib/python2.3/lib-tk', 
'/usr/local/lib/python2.3/site-packages', '/usr/lib/apache2/modules', 
'/usr/lib', '/usr/lib/python2.3', '/usr/lib/python2.3/site-packages']

Thanks in advance,


More information about the Mod_python mailing list