#19038 [Fbk->Opn]: apache 2.0.40 cannot load module libphp4.so

From: Date: Fri, 23 Aug 2002 15:06:34 +0000
Subject: #19038 [Fbk->Opn]: apache 2.0.40 cannot load module libphp4.so
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17663@lists.php.net to get a copy of this message
ID: 19038 User updated by: emanuele.lombardi@casaccia.enea.it Reported By: emanuele.lombardi@casaccia.enea.it -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: COMPAQ tru64 5.1A PHP Version: 4CVS-2002-08-22 New Comment: Now I close the bug. For any further info please mail me. Emanuele Previous Comments: ------------------------------------------------------------------------ [2002-08-23 10:37:31] emanuele.lombardi@casaccia.enea.it I now used mysql from inside php and they both work properly. Php was configured without any path given to --with-mysql Mysql 3.23.40 php4-STABLE-200208220000 apache 2.0.40 ------------------------------------------------------------------------ [2002-08-23 10:24:03] emanuele.lombardi@casaccia.enea.it Mysql server is version: 3.23.40 I'm quite new to php, what can I do to solve your question about the client version ? ------------------------------------------------------------------------ [2002-08-23 10:20:21] georg@php.net Which mysql client library version do you use? Can you try to use the embedded libmysql (you don't need any configuration options for). ------------------------------------------------------------------------ [2002-08-23 10:16:37] emanuele.lombardi@casaccia.enea.it Solved! simply setenv CFLAGS -pthread before configuring and making both apache and php It worked with apache-2.0.40 php4-STABLE-200208220000 Hardware: COMPAQ Alpha server OS: COMPAQ Tru64 Cluster 5.1A 2nd patch cc: Compaq C V6.4-215 (dtk) Bye bye Emanuele Lombardi ------------------------------------------------------------------------ [2002-08-22 06:19:53] emanuele.lombardi@casaccia.enea.it php 4.2.3-dev (dhp4-STABLE-200208220000) works properly used by APACHE 1.3.22 but not by Apache 2.0.40 (which without the "LoadModule php4_module modules/libphp4.so" line in httpd.conf works perfectely) Configuring php for apache-2.0.40 results in a apache-2.0.40 not starting but issuing the following output: Cannot load /usr/local/apache-2.0.40/modules/libphp4.so into server: dlopen: /usr/local/apache-2.0.40/modules/libphp4.so: symbol "__pthread_self" unresolved I tried setting the LD_LIBRARY_PATH to /usr/slib which is where the libpthread.so is located, but the error still exists. Can you help me? Thanks from Italy, Emanuele Lombardi Hardware: COMPAQ Alpha server OS: COMPAQ Tru64 Cluster 5.1A cc: Compaq C V6.4-215 (dtk) APACHE: 2.0.40 configured as follows: ./configure --prefix=/usr/local/apache-2.0.40 --enable-mods-shared=most PHP4: php4-STABLE-200208220000 configured as follows: ./configure --with-mysql --with apxs2=/usr/local/apache-2.0.40/bin/apxs --with-pdflib=/usr/local/pdflib --with-jpg-dir==usr/lo cal/lib --with-tiff-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --prefix=/usr/local/php4-STABLE-200208220000 --with-java=/usr/opt/java130 Please note that Apache-2.0.40 without php4 works very well. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19038&edit=1

« previous php.bugs (#17663) next »