Wednesday, December 9, 2009

mod_wsgi on OSX

The problem: mod_wsgi built fine but:

$ apachectl configtest
httpd: Syntax error on line 118 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/ into server: dlopen(/usr/libexec/apache2/, 10
): Symbol not found: _PyExc_RuntimeError\n Referenced from: /usr/libexec/apache2/\n Expected in: dynamic lookup\n

After following along with InstallationOnMacOSX I latterly found this comment on his own post by Tom Giddens to get mod_wsgi to work with apache. I actually went with this method to achieve the same goal. Thanks all.