Details
Description
mod_python fails on MacOS X 10.5 (Leopard) due to multi architecture issues.
Various reports, such as:
http://www.modpython.org/pipermail/mod_python/2008-March/025003.html
http://www.modpython.org/pipermail/mod_python/2008-January/024627.html
Two parts of mod_python are affected, the actual load of mod_python.so and later the psp.so Python module.
Errors are of the form:
httpd: Syntax error on line 116 of /private/etc/apache2/httpd.conf:
Cannot load /usr/libexec/apache2/mod_python.so into server: dlopen(/
usr/libexec/apache2/mod_python.so, 10): no suitable image found. Did
find:\n\t/usr/libexec/apache2/mod_python.so: no matching architecture
in universal wrapper
ImportError: dlopen(/Library/Python/2.5/site-packages/mod_python/
_psp.so, 2): no suitable image found. Did find:
/Library/Python/2.5/site-packages/mod_python/_psp.so: no matching
architecture in universal wrapper