Apache2 + mod_python problems

Csaba Henk csaba-ml at creo.hu
Thu Jun 23 20:26:47 GMT 2005

On Thu, Jun 23, 2005 at 12:18:49PM -0400, Chad Morland wrote:
> I am having problems getting mod_python and apache2 ports to work properly.
> Here are the relevant ports that I have installed:
> apache-2.0.54
> mod_python-3.1.4_1
> python-2.4.1_1
> When I try and start apache I get the following:
> pxetest# apachectl start
> Syntax error on line 276 of /usr/local/etc/apache2/httpd.conf:
> Cannot load /usr/local/libexec/apache2/mod_python.so into server:
> /usr/local/libexec/apache2/mod_python.so: Undefined symbol
> "pthread_attr_init"

Can it be that you have installed mod_python with thread support
enabled, but your python is w/o thread support?

I had mysterious errors with mod_python (the error messages had nothing
to do with threads) until I disabled threads both in python and


More information about the freebsd-questions mailing list