#32089 [Opn->Fbk]: Crash during Make with Oracle Instant Client Support
| From: | tony2001@php.net | Date: | Thu, 24 Feb 2005 22:45:38 +0000 |
| Subject: | #32089 [Opn->Fbk]: Crash during Make with Oracle Instant Client Support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74517@lists.php.net to get a copy of this message | ||
ID: 32089
Updated by: tony2001@php.net
Reported By: andrew dot nagy at villanova dot edu
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Fedora Core 3
PHP Version: 4CVS-2005-02-23 (stable)
New Comment:
ldconfig -p | grep libnnz ?
Previous Comments:
------------------------------------------------------------------------
[2005-02-24 21:45:52] andrew dot nagy at villanova dot edu
Here is the path structure:
]$ ll /usr/lib/oracle/10.1.0.3/client/lib/
total 89576
-r--r--r-- 1 root root 1461081 Dec 2 15:03 classes12.jar
-r--r--r-- 1 root root 1353 Dec 2 15:03 glogin.sql
lrwxrwxrwx 1 root root 17 Feb 21 20:06 libclntsh.so ->
libclntsh.so.10.1
-rwxr-xr-x 1 root root 13495923 Dec 2 15:03 libclntsh.so.10.1
-r-xr-xr-x 1 root root 28400 Dec 2 15:03 libheteroxa10.so
-r-xr-xr-x 1 root root 2121849 Dec 2 15:03 libnnz10.so
lrwxrwxrwx 1 root root 15 Feb 21 20:06 libocci.so ->
libocci.so.10.1
-rwxr-xr-x 1 root root 913575 Dec 2 15:03 libocci.so.10.1
-rwxr-xr-x 1 root root 66159152 Dec 2 15:03 libociei.so
-rwxr-xr-x 1 root root 96517 Dec 2 15:03 libocijdbc10.so
-rwxr-xr-x 1 root root 760686 Dec 2 15:03 libsqlplus.so
-r--r--r-- 1 root root 54032 Dec 2 15:03 ocrs12.jar
-r--r--r-- 1 root root 1397543 Dec 2 15:03 ojdbc14.jar
-r--r--r-- 1 root root 5018319 Dec 2 15:03 orai18n.jar
Could the symbolic link becausing this error?
------------------------------------------------------------------------
[2005-02-24 21:38:26] andrew dot nagy at villanova dot edu
Here is the statement from the make process:
/usr/bin/ld: warning: libnnz10.so, needed by
/usr/lib/oracle/10.1.0.3/client/lib/libclntsh.so, not found (try using
-rpath or -rpath-link)
And then followed by a bunch of statements such as the following:
/usr/lib/oracle/10.1.0.3/client/lib/libclntsh.so: undefined reference
to `nzos_ServiceWriteQueue'
Am I doing something wrong with this? It seems as if these errors
should be checked for in the configuration process right?
------------------------------------------------------------------------
[2005-02-24 21:24:07] sniper@php.net
We can't wait to see..
------------------------------------------------------------------------
[2005-02-23 23:36:23] andrew dot nagy at villanova dot edu
Description:
------------
I am running FC3 and am trying to compile PHP4 from snaps with Oracle
Instant Client support. I installed all 4 rpms from Oracle's site and
the ./configure runs fine. However during the make process it crashes
right around the Oracle section.
[root@localhost php4-STABLE-200502230130]# grep -in 'oracle' config.log
|more
616:configure:60531: checking for Oracle (OCI8) support using
ORACLE_HOME installation
617:configure:60577: checking for Oracle (OCI8) support using Oracle
Instant Client
618:configure:62528: checking Oracle Instant Client directory
619:configure:62540: checking Oracle Instant Client SDK header
directory
620:configure:62696: checking Oracle Instant Client version
633:configure:64631: checking for Oracle-ORACLE support
695:configure:82132: gcc -o conftest -g -O2 -L/usr/lib
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib
-Wl,-rpath,/usr/lib/oracle/10.1.0.3/client/lib -L/u
sr/lib/oracle/10.1.0.3/client/lib conftest.c -lcrypt -lpcre -lgmp
-ldb-4.2 -ldb-4.2 -lbz2 -lz -lresolv -lm -ldl -lnsl -lgssapi_krb5
-lkrb5 -lk5crypto -lcom_
err -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv
-ldl -lz -lclntsh -lcrypt 1>&5
I will post the results from the make process later.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32089&edit=1