|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-10-28 18:09 UTC] tony2001@php.net
  [2004-11-05 01:00 UTC] php-bugs at lists dot php dot net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 07:00:01 2025 UTC | 
Description: ------------ There appears to be a problem w/ configure when attempting to use Oracle 10.1 client libraries. There appears to be two other bug reports related to the ext/oci8/oci8.c and ext/oci8/config.m4 which were both patched in #27093 and #27117; However it does not appear that configure was fixed. I get the following errors when compiling with the --with-oracle=/usr/lib/oracle/10.1.0.2/client --with-oci8=/usr/lib/oracle/10.1.0.2/client: configure: error: Unspported Oracle version!. I was able to resolve this using the diff -cw output below in the configure file. Thanks, Will Alexander Reproduce code: --------------- *** configure 2004-09-20 18:31:33.000000000 -0400 --- configure.will 2004-10-28 11:57:56.000000000 -0400 *************** *** 61614,61619 **** --- 61614,61621 ---- if test -s "$ORACLE_DIR/orainst/unix.rgs"; then ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/ */:/g' | cut -d: -f 6 | cut -c 2-4` test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3 + elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.10.1; then + ORACLE_VERSION=10.1 elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then ORACLE_VERSION=9.0 elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.8.0; then *************** *** 65990,65996 **** ;; ! 8.1|9.0) case clntsh in --- 65992,65998 ---- ;; ! 8.1|9.0|10.1) case clntsh in