Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2005 22:26:36 +0200
From:      Csaba Henk <csaba-ml@creo.hu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Apache2 + mod_python problems
Message-ID:  <20050623202636.GL81682@beastie.creo.hu>
In-Reply-To: <8ca932905062309186d3501d0@mail.gmail.com>
References:  <8ca932905062309186d3501d0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
mod_python.

Csaba



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050623202636.GL81682>