Edit report at https://bugs.php.net/bug.php?id=61551&edit=1
ID: 61551
Comment by: kenji dot uui at gmail dot com
Reported by: jm at trash-mail dot com
Summary: Error "/usr/bin/ld: warning: libnnz11.so not found"
when using --disable-rpath
Status: Assigned
Type: Bug
Package: OCI8 related
Operating System: linux x64
PHP Version: Irrelevant
Assigned To: sixd
Block user comment: N
Private report: N
New Comment:
Your patch worked fine. I built php-5.3.21.
Previous Comments:
------------------------------------------------------------------------
[2013-01-22 07:16:39] [email protected]
Try the attached patch to ext/oci8/config.m4.
Rebuild the configuration file before configuring the PHP build:
./buildconf --force
./configure ...
make
------------------------------------------------------------------------
[2013-01-22 07:14:36] [email protected]
The following patch has been added/updated:
Patch Name: config.m4.61551.patch
Revision: 1358838876
URL:
https://bugs.php.net/patch-display.php?bug=61551&patch=config.m4.61551.patch&revision=1358838876
------------------------------------------------------------------------
[2013-01-22 05:02:47] [email protected]
Either:
- Don't use --disable-rpath.
- set LD_LIBRARY_PATH to the Oracle library directory before invoking 'make'.
------------------------------------------------------------------------
[2013-01-18 10:18:08] kenji dot uui at gmail dot com
I got the error when I built php-5.3.20:
/usr/bin/ld: warning: libnnz11.so, needed by
/u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so, not found (try using -rpath
or -rpath-link)
configure:
'./configure' '--build=x86_64-redhat-linux-gnu'
'--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec'
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-libdir=lib64' '--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic'
'--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr'
'--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp'
'--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr'
'--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos'
'--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--enable-xml'
'--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom'
'--disable-dba' '--without-unixODBC' '--enable-pdo' '--disable-xmlreader'
'--disable-xmlwriter' '--without-sqlite3' '--disable-phar' '--disable-fileinfo'
'--disable-json' '--without-pspell' '--disable-wddx' '--without-curl'
'--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'
--with-oci8 --with-pdo-oci=$ORACLE_HOME --with-sqlite3 --enable-sqlite-utf8
Environment:
CentOS 5.2 64bit
oracle-xe-11.2.0-1.0.x86_64.rpm
PHP 5.3.20
------------------------------------------------------------------------
[2012-03-29 15:05:56] [email protected]
What operating system and version are you using?
What version of Instant Client are you using?
What is your 'configure' line?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61551
--
Edit this bug report at https://bugs.php.net/bug.php?id=61551&edit=1