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:

Errr... That goes against the FHS.  Red Hat / CentOS, Fedora, SuSE / OpenSUSE, 
and 
Ubuntu / Debian (as well as all the derivates I know of) all have separate lib 
and 
lib64 directories.


Previous Comments:
------------------------------------------------------------------------
[2011-09-16 09:52:16] olemarkus at gentoo dot org

At least Gentoo has /usr/lib symlinked to /usr/lib64

------------------------------------------------------------------------
[2011-09-14 13:29:16] jbnance at tresgeek dot net

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

------------------------------------------------------------------------
[2011-09-14 05:32:16] patrickalla...@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] 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!

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


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

Reply via email to