php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38059 Missing a library libnnz10.so in libphp5.so
Submitted: 2006-07-10 17:15 UTC Modified: 2010-12-20 12:14 UTC
From: isaac dot yuen at mail dot mcgill dot ca Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 5.1.4 OS: Linux Gentoo-2.6.16
Private report: No CVE-ID: None
 [2006-07-10 17:15 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-10 17:28 UTC] tony2001@php.net
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.
 [2006-07-10 18:36 UTC] isaac dot yuen at mail dot mcgill dot ca
LD_LIBRARY_PATH is set to the location of my instant client directoy already when I call ./configure
 [2006-07-10 18:42 UTC] tony2001@php.net
The fact that it's set when you run ./configure doesn't mean LD_LIBRARY_PATH is set when you run httpd.
Please do not reopen the report anymore, libnnz10.so is not PHP library and PHP has nothing to do with Oracle Instant Client issues.
 [2010-12-20 12:14 UTC] jani@php.net
-Package: Tidy +Package: OCI8 related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC