From: isaac dot yuen at mail dot mcgill dot ca
Operating system: Linux Gentoo-2.6.16
PHP version: 5.1.4
PHP Bug Type: OCI8 related
Bug description: Missing a library libnnz10.so in libphp5.so
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 bug report at http://bugs.php.net/?id=38059&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=38059&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=38059&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=38059&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38059&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=38059&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38059&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38059&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38059&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38059&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38059&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=38059&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=38059&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38059&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38059&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38059&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38059&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38059&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38059&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38059&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38059&r=mysqlcfg