Bug #17552 Updated: PHP Apache DSO Compile Failure
| From: | wandyrer at hotmail dot com | Date: | Sat, 01 Jun 2002 10:52:27 +0000 |
| Subject: | Bug #17552 Updated: PHP Apache DSO Compile Failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9046@lists.php.net to get a copy of this message | ||
ID: 17552
Updated by: wandyrer@hotmail.com
Reported By: wandyrer@hotmail.com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.4.18 Glibc
PHP Version: 4.2.1
New Comment:
as a static module, aka
./configure --with-apache=../apache_1.3.24 --with-java=/usr/lib/java
--with-mysql=/usr/mysql
the problem is we need it as a DSO.
Previous Comments:
------------------------------------------------------------------------
[2002-06-01 06:45:37] mfischer@php.net
So how did you got it compile then?
------------------------------------------------------------------------
[2002-06-01 06:31:13] wandyrer@hotmail.com
configure line was simply
./configure --with-apxs --with-java=/usr/lib/java --with-servlet
--with-mysql=/usr/mysql
complete error as follows:
/usr/sbin/apachectl start:
/usr/lib/apache/libphp4.so Unresolved Symbol: pthread_getspecific
httpd stopped
This compile of PHP can compile pages on the command line, just the
apache plugin is failing. My only other thoughts is perhaps PHP can't
compile multiple SAPI modules at once?
I managed to finally get php to compile as a compiled-in module to
apache, and it appears to work fine out of tomcat and weblogic.
------------------------------------------------------------------------
[2002-06-01 04:23:48] mfischer@php.net
What's your full configure line and what's the complete error you get?
Please also tree a snapshot from snaps.php.net and see if the problem
still exists.
------------------------------------------------------------------------
[2002-06-01 03:44:49] wandyrer@hotmail.com
Apache 1.3.24 standard install
PHP 4.2.1
Glibc 2.2.5
Linux 2.4.18
Suse 8 Professional install
I tried to compile PHP 4.2.1 with the script that I had used in the
past to compile PHP 4.1.2 and the DSO returns undefined symbol:
pthread_getspecific
I tried using Pth instead, no go.
I went down to a baseline compile with ./configure --with-apxs and it
still fails in exactly the same place, The apache install runs
beautifully and is in fact the same install of apache I was using
before I recompiled to set PHP as a DSO, the version previous had PHP
compiled in.
Any guesses, suggestions, comments? I'd settle for flames
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17552&edit=1