ID:               39312
 User updated by:  andrew dot nagy at villanova dot edu
 Reported By:      andrew dot nagy at villanova dot edu
-Status:           Feedback
+Status:           Open
 Bug Type:         PDO related
 Operating System: Linux
 PHP Version:      5.1.6
 New Comment:

Okay, that solved it.

I added the other symlink that you have and I added the version number
back into my configure statement and I was able to pass the configure.

Is their anyway this checking can be added to the configure script?


Previous Comments:
------------------------------------------------------------------------

[2006-11-08 19:41:51] [EMAIL PROTECTED]

Can't reproduce.
With --with-pdo-oci=instantclient,/tmp/oic,10.2.0.2 it works just
fine.

[EMAIL PROTECTED]:/tmp/oic> ls -lR
.:
total 83736
-r--r--r--  1 tony users  1461081 2006-11-08 22:35 classes12.jar
lrwxrwxrwx  1 tony users       17 2006-11-08 22:39 libclntsh.so ->
libclntsh.so.10.1
-rwxr-xr-x  1 tony users 13495923 2006-11-08 22:35 libclntsh.so.10.1
-r-xr-xr-x  1 tony users  2121849 2006-11-08 22:35 libnnz10.so
lrwxrwxrwx  1 tony users       15 2006-11-08 22:40 libocci.so ->
libocci.so.10.1
-rwxr-xr-x  1 tony users   913575 2006-11-08 22:35 libocci.so.10.1
-rwxr-xr-x  1 tony users 66159152 2006-11-08 22:35 libociei.so
-rwxr-xr-x  1 tony users    96517 2006-11-08 22:35 libocijdbc10.so
-r--r--r--  1 tony users  1397543 2006-11-08 22:35 ojdbc14.jar
drwxr-xr-x  3 tony users       72 2006-11-08 22:36 sdk

./sdk:
total 1
drwxr-xr-x  2 tony users 760 2006-11-08 22:36 include

./sdk/include:
total 1428
-r--r--r--  1 tony users  32137 2006-11-08 22:36 nzerror.h
-r--r--r--  1 tony users  84539 2006-11-08 22:36 nzt.h
-r--r--r--  1 tony users  11587 2006-11-08 22:36 occiAQ.h
-r--r--r--  1 tony users  36750 2006-11-08 22:36 occiCommon.h
-r--r--r--  1 tony users  70671 2006-11-08 22:36 occiControl.h
-r--r--r--  1 tony users  33996 2006-11-08 22:36 occiData.h
-r--r--r--  1 tony users   2115 2006-11-08 22:36 occi.h
-r--r--r--  1 tony users  29156 2006-11-08 22:36 occiObjects.h
-r-xr-xr-x  1 tony users   7155 2006-11-08 22:36 oci1.h
-r--r--r--  1 tony users  10228 2006-11-08 22:36 oci8dp.h
-r--r--r--  1 tony users 404315 2006-11-08 22:36 ociap.h
-r-xr-xr-x  1 tony users   6055 2006-11-08 22:36 ociapr.h
-r--r--r--  1 tony users  43225 2006-11-08 22:36 ocidef.h
-r-xr-xr-x  1 tony users   4014 2006-11-08 22:36 ocidem.h
-r--r--r--  1 tony users  11331 2006-11-08 22:36 ocidfn.h
-r--r--r--  1 tony users   8954 2006-11-08 22:36 ociextp.h
-r--r--r--  1 tony users 132242 2006-11-08 22:36 oci.h
-r-xr-xr-x  1 tony users   6638 2006-11-08 22:36 ocikpr.h
-r--r--r--  1 tony users   4464 2006-11-08 22:36 ocixmldb.h
-r--r--r--  1 tony users  19099 2006-11-08 22:36 odci.h
-r--r--r--  1 tony users   6605 2006-11-08 22:36 oratypes.h
-r--r--r--  1 tony users  15031 2006-11-08 22:36 orid.h
-r--r--r--  1 tony users 102726 2006-11-08 22:36 ori.h
-r--r--r--  1 tony users 157674 2006-11-08 22:36 orl.h
-r--r--r--  1 tony users  42626 2006-11-08 22:36 oro.h
-r--r--r--  1 tony users 116591 2006-11-08 22:36 ort.h
-r-xr-xr-x  1 tony users   9520 2006-11-08 22:36 xa.h

------------------------------------------------------------------------

[2006-11-08 17:23:46] andrew dot nagy at villanova dot edu

Getting closer, but I am still getting an error.

configure: error: Unsupported Oracle version!

Any ideas?

I'm using the latest download of the instant client.  I do not have
oracle installed since I am connecting to a remote oracle server. 
Which, if I understand correctly, is the whole point of the instant
client.

------------------------------------------------------------------------

[2006-11-08 16:26:52] [EMAIL PROTECTED]

Create symlink libclntsh.so.10.1 -> libclntsh.so.

------------------------------------------------------------------------

[2006-11-08 16:21:04] andrew dot nagy at villanova dot edu

No dice.

I installed instantclient-basic to: /office/lib/oci
I installed instantclient-sdk to: /office/lib/oci/sdk

It seems like it is looking for a directory called lib32 which I do not
have.
Here is the error:

checking Oracle OCI support for PDO... yes
checking Oracle Install-Dir... instantclient,/office/lib/oci
:instantclient,/office/lib/oci:
checking if that is sane... yes
checking size of long int... (cached) 4
checking checking if we're at 64-bit platform... no
checking OCI8 libraries dir... instantclient,/office/lib/oci/lib32
checking for oci.h... /office/lib/oci/sdk/include
configure: error: I'm too dumb to figure out where the libraries are in
your instant client install

Here is my directories:
[EMAIL PROTECTED] oci]# ll
total 97584
-r--r--r--  1 root root  1594191 Feb  5  2006 classes12.jar
-rwxrwxr-x  1 root root 18774535 Feb  5  2006 libclntsh.so.10.1
-r-xr-xr-x  1 root root  5623929 Feb  5  2006 libnnz10.so
-rwxrwxr-x  1 root root  1398088 Feb  5  2006 libocci.so.10.1
-rwxrwxr-x  1 root root 70690282 Feb  5  2006 libociei.so
-r-xr-xr-x  1 root root   119919 Feb  5  2006 libocijdbc10.so
-r--r--r--  1 root root  1540457 Feb  5  2006 ojdbc14.jar
drwxrwxr-x  4 root root     4096 Feb  5  2006 sdk
[EMAIL PROTECTED] oci]# ll sdk
total 324
drwxrwxr-x  2 root root   4096 Feb  5  2006 demo
drwxrwxr-x  2 root root   4096 Feb  5  2006 include
-r-xr-xr-x  1 root root    346 Feb  5  2006 ott
-rw-rw-r--  1 root root 298274 Feb  5  2006 ottclasses.zip


I ran configure with:
--with-pdo-oci=instantclient,/office/lib/oci,10.2.0.2

------------------------------------------------------------------------

[2006-11-08 15:43:54] [EMAIL PROTECTED]

Please download the Instant Client in .zip archive, and put the files
this way:
/tmp/instantclient/sdk/include/ <- headers
/tmp/instantclient/ <- libraries
That's all. --with-pdo-oci=instantclient,/tmp/instantclient should work
after that.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/39312

-- 
Edit this bug report at http://bugs.php.net/?id=39312&edit=1

Reply via email to