PHP 4.0 Bug #2754: OCI8 doesn't work

From: Date: Thu, 18 Nov 1999 14:07:38 +0000
Subject: PHP 4.0 Bug #2754: OCI8 doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-12725@lists.php.net to get a copy of this message
From: dnehring@telemedia.de Operating system: Solaris 2.6 PHP version: 4.0 Beta 3 PHP Bug Type: Oracle related Bug description: OCI8 doesn't work PHP-4.0b3 works flawlessly for me in the following configuration: CFLAGS="-s -O2 -fomit-frame-pointer" \ ./configure --with-apxs=/usr/local/tm/apache/bin/apxs \ --with-config-file-path=/var/config/php4 \ --disable-debug \ --enable-track-vars \ --enable-safe-mode \ --with-exec-dir=/usr/bin \ --without-yp \ --with-imap=/usr/local/tm/gnu \ --with-mysql=/usr/local/tm/mysql \ --with-ldap=/usr/local/tm/openldap \ --with-db2 We hae Oracle 8i installed. When I try to compile the oci8-interface by adding: --with-oci8=/usr/local/oracle/8.1.5 I got the following error when starting apache-1.3.9: Syntax error on line 205 of /var/config/httpd-mail/httpd.conf: Cannot load /usr/local/tm/mod_php-4.0-991118/libexec/mod_php_ora.so into server: ld.so.1: //usr/local/tm/apache-1.3.9/bin/httpd: fatal: relocation error: file /usr/local/tm/mod_php-4.0-991118/libexec/mod_php_ora.so: symbol __cmpdi2: referenced symbol not found The following libs are linked in: ldd .libs/libphp4.so libdl.so.1 => /usr/lib/libdl.so.1 libm.so.1 => /usr/lib/libm.so.1 libresolv.so.2 => /usr/lib/libresolv.so.2 libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libmysqlclient.so.6 => /usr/local/tm/mysql/lib/mysql/libmysqlclient.so.6 libclntsh.so.8.0 => /usr/local/oracle/8.1.5/lib/libclntsh.so.8.0 libpam.so.1 => /usr/lib/libpam.so.1 libc.so.1 => /usr/lib/libc.so.1 libucb.so.1 => (file not found) libelf.so.1 => /usr/lib/libelf.so.1 libmp.so.2 => /usr/lib/libmp.so.2 libucb.so.1 => /usr/ucblib/libucb.so.1 libaio.so.1 => /usr/lib/libaio.so.1 Any ideas? Dirk

« previous php.dev (#12725) next »