| Gregory (Grisha) Trubetskoy 2005-09-12, 5:52 pm |
|
On Mon, 12 Sep 2005, Jim Gallacher wrote:
> *** Warning: Linking the shared library mod_python.la against the
> *** static library /usr/local/lib/python2.4/config/libpython2.4.a is not
> portable!
I think this was always there and its pretty harmless.
> On qemu:
> Syntax error on line 44 of /usr/home/jim/tmp/mod_python/test/conf/test.conf:
> Cannot load /usr/home/jim/tmp/mod_python/src/mod_python.so into server:
> /usr/home/jim/tmp/mod_python/src/mod_python.so: Undefined symbol
> "pthread_attr_init"
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
>
> It is quite possible I don't have things configured correctly on the QEMU
> version and hence the different undefined symbol but it doesn't really matter
> since it fails either way. I don't have time to investigate further right
> now. I'll revisit this tonight.
>
> Regards,
> Jim
>
>
|