From: george dot lagos at alcatel dot com Operating system: Linux 2.4 (RH8) PHP version: 4CVS-2004-09-13 (stable) PHP Bug Type: OCI8 related Bug description: Configure failure with Oracle Instant Client 10 RPM
Description: ------------ I tried to compile PHP 4.3.8 CVS php4-STABLE-200409132030 with the Oracle Instant Client 10 libraries. I keep getting the same error - cannot find -lclntsch . I am using the 10i Instant Client rpm. I have entered full path in ld.so.conf as well as exported $ORACLE_HOME and $LD_LIBRARY_PATH. I even tried linking the to the Oracle version 8 library filenames. Here is debug.log CONFIGURE: './configure' '--with-oci8=/usr/lib/oracle/10.1.0.2/client' '--with-apxs=/usr/local/apache/bin/apxs' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I$(top_builddir)/Zend LDFLAGS: -Wl,-rpath,/usr/lib/oracle/10.1.0.2/client/lib -L/usr/lib/oracle/10.1.0.2/client/lib LIBS: -lresolv -lm -ldl -lnsl -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /usr/lib/oracle/10.1.0.2/client/lib uname -a: Linux mcw-003 2.4.18-14 #1 Wed Sep 4 11:57:57 EDT 2002 i586 i586 i386 GNU/Linux gcc -o conftest -g -O2 -Wl,-rpath,/usr/lib/oracle/10.1.0.2/client/lib -L/usr/lib/oracle/10.1.0.2/client/lib conftest.c -lresolv -lm -ldl -lnsl - lclntsh 1>&5 /usr/bin/ld: cannot find -lclntsh collect2: ld returned 1 exit status I am starting to think that the RPM is missing files. Is that possible? -- Edit bug report at http://bugs.php.net/?id=30078&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30078&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30078&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30078&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30078&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30078&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30078&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30078&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30078&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30078&r=support Expected behavior: http://bugs.php.net/fix.php?id=30078&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30078&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30078&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30078&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30078&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30078&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30078&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30078&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30078&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30078&r=mysqlcfg