#30078 [Opn->Bgs]: Configure failure with Oracle Instant Client 10 RPM
| From: | derick@php.net | Date: | Tue, 14 Sep 2004 06:25:10 +0000 |
| Subject: | #30078 [Opn->Bgs]: Configure failure with Oracle Instant Client 10 RPM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66161@lists.php.net to get a copy of this message | ||
ID: 30078
Updated by: derick@php.net
Reported By: george dot lagos at alcatel dot com
-Status: Open
+Status: Bogus
Bug Type: OCI8 related
Operating System: Linux 2.4 (RH8)
PHP Version: 4CVS-2004-09-13 (stable)
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-09-13 23:45:34] 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?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30078&edit=1