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

Graham Dumpleton graham.dumpleton at gmail.com
Thu Nov 22 18:47:27 EST 2007


On 23/11/2007, Paul Eyking <eyking at cs.dal.ca> wrote:
> Here is the output from otool:
>
> eyk at Pauls-Computer~/Sources/mod_python-3.3.1$ otool -L /usr/libexec/
> apache2/mod_python.so
> /usr/libexec/apache2/mod_python.so:
>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 111.0.0)
>         /Library/Frameworks/Python.framework/Versions/2.5/Python
> (compatibility version 2.5.0, current version 2.5.0)
>         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
> version 1.0.0)

What about my other question:

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

Of for that matter, do you have any other versions of Python installed?

On a Leopard system there shouldn't be a
'/Library/Frameworks/Python.framework', which suggests you have a
conflicting version of Python installed. Did you perhaps do an OS
upgrade rather than a fresh install and so still have an older Python
2.5 on the system from Tiger?

Graham

> On 22-Nov-07, at 7:30 PM, Graham Dumpleton wrote:
>
> > 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