From owner-freebsd-questions@FreeBSD.ORG Thu Jun 23 20:26:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53BFD16A426 for ; Thu, 23 Jun 2005 20:26:47 +0000 (GMT) (envelope-from csaba@beastie.creo.hu) Received: from beastie.creo.hu (www.creo.hu [217.113.62.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C8543D5D for ; Thu, 23 Jun 2005 20:26:46 +0000 (GMT) (envelope-from csaba@beastie.creo.hu) Received: from beastie.creo.hu (localhost [127.0.0.1]) by beastie.creo.hu (8.13.3/8.13.3) with ESMTP id j5NKQaXg085090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 23 Jun 2005 22:26:36 +0200 (CEST) (envelope-from csaba@beastie.creo.hu) Received: (from csaba@localhost) by beastie.creo.hu (8.13.3/8.13.3/Submit) id j5NKQaDb085089 for freebsd-questions@freebsd.org; Thu, 23 Jun 2005 22:26:36 +0200 (CEST) (envelope-from csaba) Date: Thu, 23 Jun 2005 22:26:36 +0200 From: Csaba Henk To: freebsd-questions@freebsd.org Message-ID: <20050623202636.GL81682@beastie.creo.hu> References: <8ca932905062309186d3501d0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ca932905062309186d3501d0@mail.gmail.com> User-Agent: Mutt/1.5.9i Subject: Re: Apache2 + mod_python problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 20:26:47 -0000 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