ID: 17552
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: No Feedback
Bug Type: Compile Failure
Operating System: Linux 2.4.18 Glibc
PHP Version: 4.2.1
New Comment:
Hello people the truth is that I have the same problem:
I have:php-4.2.3-apache-2.0.43-FreeBSD 4.7-pth-1.4.1
It seems that this sould work but it doesn't, I keep getting the same
error:
Cannot load /usr/local/apache/modules/libphp4.so into server:
/usr/local/apache/modules/libphp4.so: Undefined symbol
"pthread_getspecific"
Why is this I ask, I see many people complaining about this issue and I
just can't see the anwser, I hope that someone has it.
Thank you... Omar
Previous Comments:
------------------------------------------------------------------------
[2002-12-19 23:16:31] [EMAIL PROTECTED]
For FreeBSD, you can install either pth or ptl. Both are
threading libraries, and are available in the fbsd ports
collection. Then configure php w/ appropriate flag, e.g.
for pth --enable-tsrm-pth
I had the exact error as above, with exactly the same
versions. I installed pth, rebuilt php, and it works great
now.
------------------------------------------------------------------------
[2002-12-19 23:10:24] [EMAIL PROTECTED]
For FreeBSD, you can install either pth or ptl. Both are
threading libraries, and are available in the fbsd ports
collection. Then configure php w/ appropriate flag, e.g.
for pth --enable-tsrm-pth
I had the exact error as above, with exactly the same
versions. I installed pth, rebuilt php, and it works great
now.
------------------------------------------------------------------------
[2002-12-02 22:55:09] [EMAIL PROTECTED]
This occurs using apache-2.0.43 and php-4.2.3 on FreeBSD4.7
Compiled with the following options:
./configure --with-mysql --with-apxs
When I run apache I get the following error:
Syntax error on line 230 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/modules/libphp4.so into server:
/usr/local/apache/modules/libphp4.so: Undefined symbol
"pthread_getspecific"
------------------------------------------------------------------------
[2002-11-21 06:33:36] [EMAIL PROTECTED]
The same error with me when I try to start Apache service.
the configure options that I used for PHP:
--with-mysql
--with-apxs2
SO: FreeBSD 4.7
Apache: 2.0.43
PHP: 4.2.3
------------------------------------------------------------------------
[2002-11-15 10:33:11] [EMAIL PROTECTED]
This occurs using apache-1.3.26 and php-4.2.3 on SuSE7.1 when using
--with-apxs.
I've tried adding LDFLAGS="-lpthread" just to persuade it to link
against that library, but it still doesn't like me - ldd on libphp4.so
makes no difference that way.
Am reverting to --with-apache instead on the off-chance it works...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17552
--
Edit this bug report at http://bugs.php.net/?id=17552&edit=1