Bug #61551 [Asn->Opn]: Error "/usr/bin/ld: warning: libnnz11.so not found" when using --disable-rpath

From: Date: Tue, 24 Oct 2017 08:06:19 +0000
Subject: Bug #61551 [Asn->Opn]: Error "/usr/bin/ld: warning: libnnz11.so not found" when using --disable-rpath
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212216@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61551&edit=1

 ID:                 61551
 Updated by:         kalle@php.net
 Reported by:        jm at trash-mail dot com
 Summary:            Error "/usr/bin/ld: warning: libnnz11.so not found"
                     when using --disable-rpath
-Status:             Assigned
+Status:             Open
 Type:               Bug
 Package:            OCI8 related
 Operating System:   linux x64
 PHP Version:        Irrelevant
-Assigned To:        sixd
+Assigned To:        
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2013-01-23 12:07:45] kenji dot uui at gmail dot com

Your patch worked fine. I built php-5.3.21.

------------------------------------------------------------------------
[2013-01-22 07:16:39] sixd@php.net

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] sixd@php.net

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] sixd@php.net

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' '--en!
 able-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

------------------------------------------------------------------------


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


Thread (10 messages)

« previous php.bugs (#212216) next »