[mod_python] Re: FreeBSD 4.9 | python 2.3.4 | apache 2.0.49 | mod_python 3.1.3

Reed L. O'Brien reed at intersiege.com
Wed Jun 2 16:47:29 EDT 2004


You are so absolutely right Grisha:

I had that implemented in 4.9 but upgraded to 5.2.1 and forgot about it.
The work around is to add

LD_PRELOAD=/usr/lib/libc_r.so ## or libpthread.so
export LD_PRELOAD

in /usr/local/sbin/envvars

and restart apache
This worked in 5.2.1 just now as well.

Reed O'Brien
4.6692016090

Gregory (Grisha) Trubetskoy wrote:
> There is also a wrokaround, it is documented in the mod_python FreeBSD
> port, check out /usr/ports/www/mod_python3/pkg-message
> 
> Grisha
> 
> On Wed, 2 Jun 2004, Reed L. O'Brien wrote:
> 
> 
>>Compile without threads.
>>
>>Perica Zivkovic wrote:
>>
>>>Hi,
>>>
>>>sorry for posting this but I checked all documentation and google and
>>>didn't find any help...
>>>
>>>I installed FreeBSD 4.9 and on that clean install I installed from
>>>source (not ports) following:
>>>
>>>1. apache 2.0.49
>>>2. python 2.3.4
>>>3. mod_python 3.1.3 (configured with apxs...)
>>>
>>>everithing was smooth and easy but...
>>>
>>>I included "LoadModule ..." line provided to me by mod python install
>>>script and after I attempt to start apache I get this:
>>>
>>>----------------------------
>>>Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
>>>Cannot load /usr/local/apache2/modules/mod_python.so into server:
>>>/usr/local/apache2/modules/mod_python.so: Undefined symbol
>>>"pthread_self"
>>>----------------------------
>>>
>>>I'm not posting this after first failed attempt... I tried to reinstall
>>>an do this three times but no luck...
>>>
>>>Please help
>>>
>>>grt.
>>>
>>>Perica
>>
>>_______________________________________________
>>Mod_python mailing list
>>Mod_python at modpython.org
>>http://mailman.modpython.org/mailman/listinfo/mod_python
>>



More information about the Mod_python mailing list