|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30602 Oracle 10.1 version not found
Submitted: 2004-10-28 18:02 UTC Modified: 2004-11-05 01:00 UTC
From: walexander at corp dot infi dot net Assigned:
Status: No Feedback Package: *Compile Issues
PHP Version: 4.3.9 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-10-28 18:02 UTC] walexander at corp dot infi dot net
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/ --with-oci8=/usr/lib/oracle/ 
configure: error: Unspported Oracle version!. 

I was able to resolve this using the diff -cw output below in the configure file.  

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
    elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then
    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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-28 18:09 UTC]
ext/oci8/config.m4 already has this line, so you probably have some mess with sources.
run ./buildconf --force and those lines should appear in ./configure too.
 [2004-11-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 23:03:35 2021 UTC