|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58127 Install can't find Instant Client headers on x86_64
Submitted: 2008-03-28 09:40 UTC Modified: 2008-05-13 12:08 UTC
From: c dot c dot dean at durham dot ac dot uk Assigned:
Status: Closed Package: oci8 (PECL)
PHP Version: 5.2.5 OS: Fedora Core 6, x86_64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: c dot c dot dean at durham dot ac dot uk
New email:
PHP Version: OS:


 [2008-03-28 09:40 UTC] c dot c dot dean at durham dot ac dot uk
Running "pear install oci8-1.3.1.tgz" on Fedora 6 x86_64 with PHP 5.2.5, Oracle Instant Client x86_64 devel and basic RPMs installed, and specifying "instantclient" (or anything else) for ORACLE_HOME when prompted, falls over, unable to find the Oracle headers.

A one line patch to config.m4 (appended below) fixes this, which is caused by failing to append LIBDIR_SUFFIX.

Reproduce code:
--- config.m4	2008-02-19 20:37:39.000000000 +0000
+++ config.m4.instant_libdir.fix	2008-03-28 11:32:59.000000000 +0000
@@ -334,7 +334,7 @@
   AC_MSG_CHECKING([Oracle Instant Client SDK header directory])
 dnl Header directory for Instant Client SDK RPM install
-  OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/lib/oracle/\(.*\)/client/lib[/]*$!/usr/include/oracle/\1/client!'`
+  OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/lib/oracle/\(.*\)/client'${LIBDIR_SUFFIX}'/lib[/]*$!/usr/include/oracle/\1/client'${LIBDIR_SUFFIX}'!'`
 dnl Header directory for Instant Client SDK zip file install


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-07 18:39 UTC] christopher dot jones at oracle dot com
Fixed in PHP 5.3 and PHP 6.  

The next PECL 1.3.x package will be built from PHP 5.3.

This bug is being left open so the fix can be merged to PHP 5.2 when the PHP 5.2.7 branch opens for development.
 [2008-05-13 12:08 UTC] christopher dot jones at oracle dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

Fix has been merged to 5.2.7
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Mar 20 15:03:37 2023 UTC