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:

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.


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

[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.

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

[2006-11-08 15:35:14] andrew dot nagy at villanova dot edu

The oci.h is under /usr/include/oracle
The libclntsh.so is under /usr/lib/oracle

I am not sure how the files got into 2 different dirs.  Maybe through
an RPM?

I downloaded the latest copy of the instant client, and put it in a new
directory.  I get the same errors, there is no oracle.h file in the
instant client directory.
What am I missing?
Can the error reporting in the configure be a bit more verbose?

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

[2006-11-08 14:28:56] [EMAIL PROTECTED]

I don't get it. Why did you change /lib/ to /include/?
Why do you have instant client installed in two locations?
Where is oci.h after all? Where is libclntsh.so?

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

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