#19038 [Opn->Fbk]: apache 2.0.40 cannot load module libphp4.so
| From: | georg@php.net | Date: | Fri, 23 Aug 2002 14:20:21 +0000 |
| Subject: | #19038 [Opn->Fbk]: apache 2.0.40 cannot load module libphp4.so | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17656@lists.php.net to get a copy of this message | ||
ID: 19038
Updated by: georg@php.net
Reported By: emanuele.lombardi@casaccia.enea.it
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: COMPAQ tru64 5.1A
PHP Version: 4CVS-2002-08-22
New Comment:
Which mysql client library version do you use?
Can you try to use the embedded libmysql (you don't need any
configuration options for).
Previous Comments:
------------------------------------------------------------------------
[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