ID: 41289
User updated by: brunofr at ioda dot net
Reported By: brunofr at ioda dot net
Status: Assigned
Bug Type: Compile Failure
Operating System: Linux OpenSUSE 10.1
PHP Version: 5.2.2
Assigned To: wez
New Comment:
Have make link for all .so into directory lib make link lib32,lib64 to
lib but doesn't help so much.
the only thing that really help is putting a PDO_OCI_VERSION=10.2 at
line 71961 of .configure and every thing compile correctly after that.
something is wrong in this block of configure's code
echo $ac_n "checking Oracle version""... $ac_c" 1>&6
echo "configure:71938: checking Oracle version" >&5
if test -s "$PDO_OCI_DIR/orainst/unix.rgs"; then
PDO_OCI_VERSION=`grep '"ocommon"' $PDO_OCI_DIR/orainst/unix.rgs |
sed 's/ */:/g' | cut -d: -f 6 | cut -c 2-4`
test -z "$PDO_OCI_VERSION" && PDO_OCI_VERSION=7.3
elif test -f $PDO_OCI_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME.10.1;
then
PDO_OCI_VERSION=10.1
elif test -f $PDO_OCI_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then
PDO_OCI_VERSION=9.0
elif test -f $PDO_OCI_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME.8.0; then
PDO_OCI_VERSION=8.1
elif test -f $PDO_OCI_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME.1.0; then
PDO_OCI_VERSION=8.0
elif test -f $PDO_OCI_LIB_DIR/libclntsh.a; then
if test -f $PDO_OCI_LIB_DIR/libcore4.a; then
PDO_OCI_VERSION=8.0
else
PDO_OCI_VERSION=8.1
fi
else
{ echo "configure: error: Oracle-OCI needed libraries not found
under $PDO_OCI_DIR" 1>&2; exit 1; }
fi
echo "$ac_t""$PDO_OCI_VERSION" 1>&6
fi
But what I can't find where ...
Previous Comments:
------------------------------------------------------------------------
[2007-05-05 11:41:01] [EMAIL PROTECTED]
Assigned to the maintainer.
You can put the libraries to /usr/lib/oracle/10.2.0.3/client/lib/ for
now, it should help.
------------------------------------------------------------------------
[2007-05-05 10:12:45] brunofr at ioda dot net
here the ls
ll /usr/lib/oracle/10.2.0.3/client
total 103400
-r--r--r-- 1 root root 1600090 2006-11-15 21:37 classes12.jar
-rwxrwxr-x 1 root root 67053 2006-11-15 21:37 genezi
-r--r--r-- 1 root root 1525 2006-11-15 21:38 glogin.sql
lrwxrwxrwx 1 root root 47 2007-05-04 19:05 include ->
/usr/include/oracle/10.2.0.3/client/sdk/include
lrwxrwxrwx 1 root root 17 2006-12-24 23:50 libclntsh.so ->
libclntsh.so.10.1
-rwxrwxr-x 1 root root 18825267 2006-11-15 21:37 libclntsh.so.10.1
-r-xr-xr-x 1 root root 27822 2006-11-15 21:38 libheteroxa10.so
-r-xr-xr-x 1 root root 5486009 2006-11-15 21:37 libnnz10.so
lrwxrwxrwx 1 root root 15 2006-12-24 23:50 libocci.so ->
libocci.so.10.1
-rwxrwxr-x 1 root root 1398088 2006-11-15 21:37 libocci.so.10.1
-rwxrwxr-x 1 root root 72480394 2006-11-15 21:37 libociei.so
-r-xr-xr-x 1 root root 120135 2006-11-15 21:37 libocijdbc10.so
-r-xr-xr-x 1 root root 1434235 2006-11-15 21:38 libsqlplusic.so
-r-xr-xr-x 1 root root 1057777 2006-11-15 21:38 libsqlplus.so
-r--r--r-- 1 root root 1545954 2006-11-15 21:37 ojdbc14.jar
-r--r--r-- 1 root root 1645114 2006-11-15 21:38 orai18n.jar
lrwxrwxrwx 1 root root 39 2006-12-24 16:04 sdk ->
/usr/include/oracle/10.2.0.3/client/sdk
-r-xr-xr-x 1 root root 8867 2006-11-15 21:38 sqlplus
------------------------------------------------------------------------
[2007-05-04 17:58:31] [EMAIL PROTECTED]
Where is libclntsh.so and does it have 10.1 suffix?
------------------------------------------------------------------------
[2007-05-04 17:46:36] brunofr at ioda dot net
Description:
------------
when you try to compile php with pdo it finish with error unknown
oracle version ( instantclient 10.2.0.3 install)
oci extension compile right.
I've reported this in http://pecl.php.net/bugs/bug.php?id=9689
but have not been resolved.
If i force PDO_OCI_VERSION=10.2 everything compile correctly.
and the extension as far i can test work nicely.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41289&edit=1