Bug #44989 [Com]: 64bit Oracle RPMs still not supported by pdo-oci
| From: | jbnance at tresgeek dot net | Date: | Wed, 14 Sep 2011 13:29:17 +0000 |
| Subject: | Bug #44989 [Com]: 64bit Oracle RPMs still not supported by pdo-oci | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-163531@lists.php.net to get a copy of this message | ||
Edit report at https://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: 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:
What distribution has /usr/lib sym linked to /usr/lib64?
The patch works fine on RHEL 5 32-bit (and 64-bit) with Oracle 10 and 11.2 RPMs
(from Oracle).
Previous Comments:
------------------------------------------------------------------------
[2011-09-14 05:32:16] patrickallaert@php.net
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
------------------------------------------------------------------------
[2011-03-30 19:35:23] sixd@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] felipe@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] felipe@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.
------------------------------------------------------------------------
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