[mod_python] OS X Leopard mod_python issues (cont.)

Graham Dumpleton graham.dumpleton at gmail.com
Thu Nov 22 18:30:17 EST 2007


On 23/11/2007, Paul Eyking <eyking at cs.dal.ca> wrote:
> Hey all,
>
> I saw the previous posts to this mailing list from the archives in
> October. I followed all of those instructions and (think) I've solved
> the issue regarding the module not being installed as a 4-way
> universal, however, now I'm getting a different error, has anyone seen
> this?
>
> eyk at Pauls-Computer~$ sudo apachectl configtest
> httpd: Syntax error on line 113 of /private/etc/apache2/httpd.conf:
> Cannot load /usr/libexec/apache2/mod_python.so into server: dlopen(/
> usr/libexec/apache2/mod_python.so, 10): Symbol not found:
> _PyObject_GenericGetAttr\n  Referenced from: /usr/libexec/apache2/
> mod_python.so\n  Expected in: dynamic lookup\n

What do you get when you run:

  otool -L /usr/libexec/apache2/mod_python.so

Are you using the standard Python 2.5 that comes with the box or some
other version you have installed separately?

Graham


More information about the Mod_python mailing list