Undefined symbols ....
| From: | Giles Duncan | Date: | Thu, 11 Oct 2001 14:29:39 +0000 |
| Subject: | Undefined symbols .... | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4601@lists.php.net to get a copy of this message | ||
Pleeeeease can somebody shed some light on my problem :
I have seen similar problems here and have scoured the internet for about a
week now and time is running out for me as I am on a deadline, but still no
luck.
I am a newbie so 'scuse me if I am getting it wrong.
I am trying to get PHP 4.0.6 to run on Apache 2.0.18 as a DSO, ( I am on
2.0.18 because I had numerous problems getting it to make properly with
2.0.16) on FreeBSD 4.2 STABLE.
I finally got the configure, make and make install to run smoothly without
errors but when I try and start httpd, I get the error "undefined symbol:
"pthread_getspecific" " (if I take out the "load_module" line in httpd.conf
it runs fine.)
I configured --with-apxs2 and --with-mysql options only ... (both with
absolute paths supplied.)
I suspect it is to do with linking the correct libraries but I am not sure
and don't know how to link the libraries ?
If I run ld on libphp4.so, I get a long list of undefined symbols (of
which"pthread_getspecific" is one . I notice that most them are on the
system in lib_c, can anyone offer any advice ?
I have installed the latest autoconf, automake and libtools in my vain
effort to cure the problem.
If any one can shed any light on the problem I shall be extremely
grateful....
Thanks in advance !