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

 ID:                 52621
 Comment by:         nfitzgerald at gmail dot com
 Reported by:        jbnance at tresgeek dot net
 Summary:            pdo-oci fails to locate 64-bit Oracle installations
 Status:             Assigned
 Type:               Bug
 Package:            Oracle related
 Operating System:   Linux
 PHP Version:        5.3.3
 Assigned To:        sixd
 Block user comment: N
 Private report:     N

 New Comment:

Tested the patch for 5.3.3 and it works. Would be great to have this as
part of 

the next release.


Previous Comments:
------------------------------------------------------------------------
[2010-08-18 01:07:20] ka...@php.net

Chris, now there is a patch for it, might be worth reviewing from an
Oracle standpoint :)

------------------------------------------------------------------------
[2010-08-16 23:19:55] jbnance at tresgeek dot net

Notes for end users, in order to use this you have to rebuild configure


(buildconf --force after applying the patch).



After applying and rebuilding, the following should work:



./configure --with-pdo-oci=instantclient,/usr,10.2.0.4

or

./configure --with-pdo-oci=shared,instantclient,/usr,10.2.0.4



Note that this is different from the non-PDO OCI configure option:



--with-oci8=instantclient,/usr/lib/oracle/10.2.0.4/client64/lib

or

--with-oci8=shared,instantclient,/usr/lib/oracle/10.2.0.4/client64/lib



(the version is a parameter in the PDO OCI option).

------------------------------------------------------------------------
[2010-08-16 23:18:54] jbnance at tresgeek dot net

Added patches for 5.2 and 5.3 series.

------------------------------------------------------------------------
[2010-08-16 23:16:35] jbnance at tresgeek dot net

Description:
------------
This is the same as bug 44989, but 44989 isn't getting any attention
even though I 

have submitted a fix for the issue, and I'm not the original reporter so
I can't 

update status.

Test script:
---------------
Using the Oracle provided 64bit InstantClient RPMs (currently using
11.1.0.1-1):



./configure --with-pdo-oci=instantclient,/usr/include,11.1.0 ...



Produces:



checking Oracle OCI support for PDO... yes

checking Oracle Install-Dir... instantclient,/usr/include,11.1.0

checking if that is sane... yes

checking for oci.h... configure: error: I'm too dumb to figure out where
the include dir is in your Instant Client install

Expected result:
----------------
Libraries and headers located, compile succeeds.

Actual result:
--------------
Configure exits unable to locate libraries or headers.


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



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

Reply via email to