[mod_python] Problem installing apache2/mod_python.

Alex Mendes da Costa alexmdac at gmail.com
Sun Nov 20 02:39:19 EST 2005


Hi folks,

I'm trying to set up apache2/mod_python on OSX.3.9.  I'm using
http-2.0.55 and mod_python-2.7.11.

I used

  ./configure --enable-so

for apache2, and

  './configure --with-python=../Python-2.4.2
--with-apxs=/usr/local/apache2/bin/apxs'

for mod_python.  I added

  'LoadModule python_module modules/mod_python.so'

to line 234 of the default httpd.conf in /usr/local/apache2/conf/. 
Now I get the following error when I try to start apache:

$ sudo /usr/local/apache2/bin/apachectl start
Syntax error on line 234 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_python.so into server:
dyld: /usr/local/apache2/bin/httpd Undefined
symbols:\n_ap_make_table\n_ap_null_cleanup\n_ap_pcalloc\n_ap_pstrcat\n_ap_pstrdup\n_ap_register_cleanup\n_ap_table_add\n_ap_table_get\n_ap_table_set\n_ap_table_unset\n_ap_child_terminate\n_ap_copy_table\n_ap_kill_timeout\n_ap_palloc\n_ap_psprintf\n_ap_reset_timeout\n_ap_send_http_header\n_ap_soft_timeout\n_ap_destroy_pool\n_ap_make_sub_pool\n

Any help would be appreciated!

Alex



More information about the Mod_python mailing list