You are not logged in.

#1 2011-03-05 13:49:03

uorbe001
Member
Registered: 2008-04-11
Posts: 27

mod_python undefined symbol

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

#2 2011-03-06 04:47:27

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: mod_python undefined symbol

Have you tried rebuilding the mod_python package?

Offline

#3 2011-03-06 10:02:03

uorbe001
Member
Registered: 2008-04-11
Posts: 27

Re: mod_python undefined symbol

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

Board footer

Powered by FluxBB