You are not logged in.
Hi, this may be a newbie problem, for this is the first time I setup mod_python, but I've got a problem, and google doesn't have the answer :-/.
I have installed mod_python from AUR, then set up the LoadModule line in apache. If I restart apache at this point (without having changed anything other than that LoadModule line) it gives me this error:
httpd: Syntax error on line 125 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_python.so into server: /etc/httpd/modules/mod_python.so: undefined symbol: PyCapsule_New Does anyone know what the issue might be? Thanks!
Offline
Have you tried rebuilding the mod_python package?
Offline
Yes, I tried rebuilding it a few times in case there was an error building it and I didn't notice, but it didn't seem to change anything at all.
I ended up installing mod_wsgi (seems this is the good way to go, since this package is supported in the repositories and mod_python is only in AUR) so it's not a big issue for me, but I haven't yet been able to get mod_python working. I'm thinking it could be a version mismatch of some kind, maybe the apache version in the repositories isn't compatible with this module version?
Offline