ID: 38059
Updated by: [EMAIL PROTECTED]
Reported By: isaac dot yuen at mail dot mcgill dot ca
-Status: Open
+Status: Bogus
Bug Type: OCI8 related
Operating System: Linux Gentoo-2.6.16
PHP Version: 5.1.4
New Comment:
libnnz10.so is a part of Oracle Instant Client installation.
You have to use LD_LIBRARY_PATH to use OIC, which is described in OIC
documentation.
Not PHP problem.
Previous Comments:
------------------------------------------------------------------------
[2006-07-10 17:15:37] isaac dot yuen at mail dot mcgill dot ca
Description:
------------
I am using Apache 2.0.55 installed through emerge and PHP-5.1.2.
I was installing the Oracle Instant Client and its SDK to use the OCI8
function. I downloaded the necessary files and configure, re-make the
php. Everything went smoothly until when I started the apache with
"/etc/init.d/apache start"
The service didn't start and I got the following response
Syntax error on line 359 of /etc/apache2/httpd.conf:
Cannot load /usr/lib/apache2/modules/libphp5.so into server:
libnnz10.so: cannot open shared object file: No such file or directory
However, the libnnz10.so is found in the instant client directory. I
checked the dynamic link of the libphp5.so and the link to libnnz10.so
was missing ("Not found").
Reproduce code:
---------------
My configure command
./configure --prefix=/usr/lib/php-5.1.2 --sysconfdir=/etc
--cache-file=./config.cache --with-apxs2=/usr/sbin/apxs2
--with-config-file-path=/etc/php/apache2-php5
--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active
--disable-bcmath --with-bz2 --disable-calendar --disable-ctype
--without-curl --without-curlwrappers --disable-dbase --enable-exif
--without-fbsql --without-fdftk --disable-filepro --disable-ftp
--with-gettext --without-gmp --disable-hash --without-hwapi
--without-iconv --without-informix --without-kerberos
--disable-mbstring --with-mcrypt --disable-memory-limit --without-mhash
--without-ming --without-msql --without-mssql --with-ncurses
--with-openssl --with-openssl-dir=/usr --disable-pcntl --disable-pdo
--without-pgsql --disable-posix --with-pspell --without-recode
--disable-simplexml --disable-shmop --without-snmp --disable-soap
--disable-sockets --without-sybase --without-sybase-ct
--disable-sysvmsg --disable-sysvsem --disable-sysvshm --without-tidy
--disable-tokenizer --disable-wddx --disable-xmlreader
--disable-xmlwriter --without-xmlrpc --without-xsl --with-zlib
--disable-debug --enable-dba --without-cdb --with-db4
--without-flatfile --with-gdbm --without-inifile --without-qdbm
--with-freetype-dir=/usr --with-t1lib=/usr --disable-gd-jis-conv
--enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr
--without-xpm-dir --with-gd --without-mysqli --with-readline
--without-libedit --without-mm --without-sqlite --without-pear
--with-oci8=instantclient,/usr/lib/oracle/instantclient_10_2
Actual result:
--------------
Syntax error on line 359 of /etc/apache2/httpd.conf:
Cannot load /usr/lib/apache2/modules/libphp5.so into server:
libnnz10.so: cannot open shared object file: No such file or directory
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38059&edit=1