symbol "__pthread_self" unresolved in APACHE2 with PHP4

From: emanuele.lombardi@casaccia.enea.it
Date: Thu Aug 22 2002 - 07:37:46 EDT


Here I am dear gurus asking again for your help.
Today the question is concerning PHP & APACHE2.

PHP4.2.2 (and the beta 4.2.3-dev dhp4-STABLE-200208220000)
work properly used by APACHE-1.3.22 but not by Apache-2.0.40

(Note that Apache-2.0.40 without the use of php4 works perfectely)

Configuring php for apache-2.0.40 results in a faulty
apache-2.0.40 which daen't start but issues the following output:

/usr/local/apache-2.0.40/bin/httpd -k start

     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.

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/local/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
 

Can you help me?
Thanks from Italy,

Emanuele

--
 
$$$ Emanuele Lombardi
$$$ mail:  ENEA  CLIM  Casaccia
$$$        I-00060 S.M. di Galeria (RM)  ITALY
$$$ mailto:emanuele.lombardi@casaccia.enea.it
$$$ tel	+39 0630483366 
$$$ fax	+39 0630484264             |||
$$$                                \|/  ;_;
$$$ What does a process need        |   /"\
$$$ to become a daemon ?            |   \v/
$$$                                 |    | 
$$$ - a fork                        o---/!\---
$$$                                 |   |_|
$$$                                 |  _/ \_
$$$* Contrary to popular belief, UNIX is user friendly.
$$$  It's just very particular about who it makes friends with.
$$$* Computers are not intelligent, but they think they are. 
$$$* True programmers never die, they just branch to an odd address
$$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:50 EDT