Edit report at https://bugs.php.net/bug.php?id=44989&edit=1
ID: 44989 Comment by: patrickalla...@php.net Reported by: stevec at engr dot oregonstate dot edu Summary: 64bit Oracle RPMs still not supported by pdo-oci Status: Closed Type: Bug Package: PDO related Operating System: Linux PHP Version: 5.2.6 Assigned To: sixd Block user comment: N Private report: N New Comment: The committed patch introduced a regression for those who have a path like: /usr/lib64/oracle/10.2.0.3/client/include on x86_64 boxes. The path tried are: /usr/include/oracle/10.2.0.3/client64/oci.h /usr/lib/oracle/10.2.0.3/client64/include/oci.h /usr/sdk/include/oci.h /usr/client64/include/oci.h Because /usr/lib/ is a symlink to /usr/lib64/ on those boxes, it previously worked by using "client" rather than "client64". Now it fails with: configure: error: I'm too dumb to figure out where the include dir is in your Instant Client install Previous Comments: ------------------------------------------------------------------------ [2011-03-30 19:35:23] s...@php.net With Oracle Instant Client 11.2 RPMs use: ./configure --with-pdo-oci=instantclient,/usr,11.2 or ./configure --with-pdo-oci=shared,instantclient,/usr,11.2 i.e. only use two components of the version number. ------------------------------------------------------------------------ [2011-03-29 20:41:26] fel...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Thanks for the patch! ------------------------------------------------------------------------ [2011-03-29 20:40:23] fel...@php.net Automatic comment from SVN on behalf of felipe Revision: http://svn.php.net/viewvc/?view=revision&revision=309818 Log: - Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci) patch by: jbnance at tresgeek dot net ------------------------------------------------------------------------ [2010-08-16 23:12:49] jbnance at tresgeek dot net Bug still exists in 5.3.3. Patch uploaded. ------------------------------------------------------------------------ [2010-08-04 01:03:29] jbnance at tresgeek dot net 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). ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=44989 -- Edit this bug report at https://bugs.php.net/bug.php?id=44989&edit=1