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

Paul Eyking eyking at cs.dal.ca
Thu Nov 22 18:38:45 EST 2007


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)

Cheers,

Paul

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