Edit report at http://bugs.php.net/bug.php?id=44989&edit=1
ID: 44989 Comment by: jbnance at tresgeek dot net Reported by: stevec at engr dot oregonstate dot edu Summary: 64bit Oracle RPMs still not supported by pdo-oci Status: No Feedback Type: Bug Package: PDO related Operating System: Linux PHP Version: 5.2.6 Assigned To: sixd Block user comment: N New Comment: Patch attached for config.m4. 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). Previous Comments: ------------------------------------------------------------------------ [2009-05-03 01:00:13] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-04-27 15:55:23] stevec at eng dot orst dot edu I'm still seeing the same problem with the latest CVS snapshot (php5.2-200904271430). What it comes down to is the code is only looking for 'client' directories. The Oracle RPMs put everything in 'client64' directories. /usr/include/oracle/11.1.0.1/client64 /usr/lib/oracle/11.1.0.1/client64 As the previous poster mentioned, if you link the client directory in both of those directories to client64, then the compile works fine. That seems a bit of a kludge though. ------------------------------------------------------------------------ [2009-04-25 15:06:21] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2008-07-22 08:03:42] noel dot rambaud at free dot fr Create a link client-> client64 in directory /usr/include/oracle/version_instantclientoracle idem in /usr/lib/oracle/version_instantclientoracle ------------------------------------------------------------------------ [2008-05-13 23:50:10] stevec at engr dot oregonstate dot edu Description: ------------ Bug #41941 addressed 64bit support for the --with-oci8 configure option, but not the --with-pdo-oci option. It still can't find the include files. Reproduce code: --------------- 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: ---------------- Should pass that part and find the client64 libraries. I've tried all sorts of paths (/usr to /usr/include/oracle/11.1.0.1/client64) with no luck. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=44989&edit=1