ID:               44989
 Comment by:       stevec at eng dot orst dot edu
 Reported By:      stevec at engr dot oregonstate dot edu
 Status:           Feedback
 Bug Type:         PDO related
 Operating System: Linux
 PHP Version:      5.2.6
 Assigned To:      sixd
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2009-04-25 15:06:21] [email protected]

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/?id=44989&edit=1

Reply via email to