php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30078 Configure failure with Oracle Instant Client 10 RPM
Submitted: 2004-09-13 23:45 UTC Modified: 2004-09-14 08:24 UTC
From: george dot lagos at alcatel dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4CVS-2004-09-13 (stable) OS: Linux 2.4 (RH8)
Private report: No CVE-ID: None
 [2004-09-13 23:45 UTC] george dot lagos at alcatel dot com
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?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-14 08:25 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You just don\'t have all the necessary libraries. Not a bug -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 07:01:32 2024 UTC