From:
Operating system: linux x64
PHP version: Irrelevant
Package: OCI8 related
Bug Type: Bug
Bug description:dynamic linker says libnnz11.so not found
Description:
------------
Installed Oracle instantclient from RPM:
/usr/lib/oracle/11.2/client64/lib looks like this:
libclntsh.so
libclntsh.so.11.1
libnnz11.so
libocci.so
libocci.so.11.1
libociei.so
libocijdbc11.so
ojdbc5.jar
ojdbc6.jar
ottclasses.zip
xstreams.jar
configuring and compiling oci8 results in
# ldd modules/oci8.so
...
libnnz11.so => not found
...
even though libnnz11.so is present in the above listing.
What helps is this:
--- config.m4.old 2012-03-29 10:31:58.000000000 +0200
+++ config.m4 2012-03-29 10:31:43.000000000 +0200
@@ -321,6 +321,7 @@
AC_OCI8IC_VERSION($PHP_OCI8_INSTANT_CLIENT)
PHP_ADD_LIBRARY(clntsh, 1, OCI8_SHARED_LIBADD)
+ PHP_ADD_LIBRARY(nnz11, 1, OCI8_SHARED_LIBADD)
PHP_ADD_LIBPATH($PHP_OCI8_INSTANT_CLIENT, OCI8_SHARED_LIBADD)
AC_DEFINE(HAVE_OCI_INSTANT_CLIENT,1,[ ])
--> # ldd modules/oci8.so
linux-vdso.so.1 => (0x00007fff9efc5000)
libclntsh.so.11.1 =>
/usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1 (0x00007f2b4f24c000)
libnnz11.so => /usr/lib/oracle/11.2/client64/lib/libnnz11.so
(0x00007f2b4ee7f000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2b4eaef000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f2b4e8eb000)
libm.so.6 => /lib64/libm.so.6 (0x00007f2b4e694000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2b4e477000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f2b4e25f000)
libaio.so.1 => /lib64/libaio.so.1 (0x00007f2b4e05c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2b51d11000)
\o/
--
Edit bug report at https://bugs.php.net/bug.php?id=61551&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61551&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61551&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=61551&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61551&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=61551&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61551&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=61551&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=61551&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=61551&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=61551&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=61551&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=61551&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=61551&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61551&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=61551&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61551&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=61551&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=61551&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=61551&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=61551&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=61551&r=mysqlcfg