PHP4.0.3pl1 + Apache 1.3.14 + Oracle 8.1.6 + Linux RH 6.2

From: Date: Wed, 25 Oct 2000 16:32:25 +0000
Subject: PHP4.0.3pl1 + Apache 1.3.14 + Oracle 8.1.6 + Linux RH 6.2
Groups: php.install 
Request: Send a blank email to php-install+get-459@lists.php.net to get a copy of this message
Hi all, I want to build PHP as an apache shared module (DSO) with support for an Oracle 8i on the same host. At the compilation stage everything seems to went ok, but when I start Apache I've got always the same error message "Cannot load libphp4.so : unresolved symbol compress" The problem occurs when I added support for Oracle. My configure commands lines for PHP were ./configure --with-apxs --with-oci8 --with-mysql=/usr later .. ./configure --with-apxs --with-oracle --with-oci8 --with-mysql=/usr more later .. ./configure --with-apxs --with-oracle --with-oci8 --enable-sigchild I've exported the variables ORACLE_SID, ORACLE_HOME. I also tried to run a "make depend" in the PHP source tree and everything went ok. I parsed the archives and tried a trick I found :adding a line to /etc/rc.d/init.d/httpd export LD_PRELOAD=/usr/lib/libpthreads.so Here follows the output of 'ldd -d' on libphp4.so /etc/httpd/modules/libphp4.so: libpam.so.0 => /lib/libpam.so.0 (0x40137000) libdl.so.2 => /lib/libdl.so.2 (0x4013f000) libclntsh.so.8.0 => /app/oracle/product/8iR2/lib/libclntsh.so.8.0 (0x40143000) libm.so.6 => /lib/libm.so.6 (0x406b2000) libgd.so.1 => /usr/lib/libgd.so.1 (0x406d0000) libresolv.so.2 => /lib/libresolv.so.2 (0x40706000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40715000) libnsl.so.1 => /lib/libnsl.so.1 (0x40742000) libc.so.6 => /lib/libc.so.6 (0x40758000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) libwtc8.so => /app/oracle/product/8iR2/lib/libwtc8.so (0x4084d000) libpthread.so.0 => /lib/libpthread.so.0 (0x40850000) undefined symbol: uncompress (/etc/httpd/modules/libphp4.so) undefined symbol: compress (/etc/httpd/modules/libphp4.so) undefined symbol: ap_block_alarms (/etc/httpd/modules/libphp4.so) undefined symbol: ap_unblock_alarms (/etc/httpd/modules/libphp4.so) undefined symbol: ap_user_id (/etc/httpd/modules/libphp4.so) undefined symbol: ap_server_root (/etc/httpd/modules/libphp4.so) undefined symbol: ap_group_id (/etc/httpd/modules/libphp4.so) undefined symbol: ap_user_name (/etc/httpd/modules/libphp4.so) undefined symbol: top_module (/etc/httpd/modules/libphp4.so) undefined symbol: ap_max_requests_per_child (/etc/httpd/modules/libphp4.so) I did'nt tried to compile it as a buil-in module because Apache was installed with RH's rpm Thanks in advance Olivier

« previous php.install (#459) next »