Apache Mod-Python - Re: FreeBSD compile problem (was Getting ready for 3.2 beta 2)

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > September 2005 > Re: FreeBSD compile problem (was Getting ready for 3.2 beta 2)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: FreeBSD compile problem (was Getting ready for 3.2 beta 2)
Gregory (Grisha) Trubetskoy

2005-09-12, 5:52 pm


OK, found it. This should work on FreeBSD where Python is threaded and
Apache is not.

[snip]

And, if you built apache without thread support, you may need to add the
following lines to $PREFIX/sbin/envvars:

LD_PRELOAD=/usr/lib/libc_r.so
export LD_PRELOAD

[snip]


On Mon, 12 Sep 2005, Gregory (Grisha) Trubetskoy wrote:

>
> On Mon, 12 Sep 2005, Jim Gallacher wrote:
>
>
> I think this was always there and its pretty harmless.
>
>
>
> This is because FreeBSD's libc comes in two versions - threaded and
> non-threaded. If Python is linked against the threaded ones and Apache
> against the non-thrreaded, then you get this problem. There is a simple fix
> for this - you just cause Apache to start with threaded libs, but I can't
> find any references to it right now and have to run off to a meeting.
>
> Grisha
>
>
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com