ID: 17552 Updated by: [EMAIL PROTECTED] -Summary: PHP Apache DSO Compile Failure Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open Bug Type: Compile Failure Operating System: Linux 2.4.18 Glibc PHP Version: 4.2.1 New Comment:
ah, ok, static module. I'm reopening this since it still should work as a true DSO though. Previous Comments: ------------------------------------------------------------------------ [2002-06-01 06:52:27] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2002-06-01 06:45:37] [EMAIL PROTECTED] So how did you got it compile then? ------------------------------------------------------------------------ [2002-06-01 06:31:13] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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