|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-04-07 18:39 UTC] christopher dot jones at oracle dot com
[2008-05-13 12:08 UTC] christopher dot jones at oracle dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 17:00:02 2025 UTC |
Description: ------------ Running "pear install oci8-1.3.1.tgz" on Fedora 6 x86_64 with PHP 5.2.5, Oracle Instant Client 11.1.0.1-1 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 OCISDKZIPINC=$PHP_OCI8_INSTANT_CLIENT/sdk/include