Hi, I've been writing a php4 extension which links in a ton of libraries.
When apache loads it at startup it segfaults, if dynamically loaded with
dl('') it works for a bit but apache slowly dies.
I link to pthreads and I've read that that might be part of the problem.
However, it seems to work until I add linkage of libltdl (which uses libdl).
What might be causing this? I've read that in glibc 2.0 dlopen of a
pthreaded module from a non-pthreaded main program might cause problems.
However, I don't actually use multiple threads anywhere - I just need to
link to pthreads b/c the libraries I use use it.
Also, I use glibc 2.2.1, not 2.0 -- has this bug never been fixed?
Thanks a ton.
--
Wesley W. Terpstra <[EMAIL PROTECTED]>
Javien Canada Inc. - Linux Developer
PGP signature