|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3766 configure doesn't allow for the Oracle N32 client SDK to be used
Submitted: 2000-03-08 09:50 UTC Modified: 2005-03-31 16:13 UTC
From: jpv at cwi dot nl Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 3.0.15 OS: SGI IRIX64 6.5.4/5
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: jpv at cwi dot nl
New email:
PHP Version: OS:


 [2000-03-08 09:50 UTC] jpv at cwi dot nl
I've compiled PHP + Apache + Mod_SSL previously without Oracle support ( -n32 targets with SGI's CC compiler.)

Now I want to include Oracle support by using the -n32 libraries from the:
Oracle N32 Client Development Kit (Release 8.0.5 for Silicon Graphics IRIX)

we run Oracle 8i 8.0.5 or higher with 64bit binaries and libraries.
But since apache+ssl+php aren't 64-bit clean I compiled them explicitly with 'cc -n32'...

I configure PHP for use with Oracle:
 /usr/local/jpv/php-3.0.15 $ CC="cc -n32 -O2 -KPIC" CXX=$CC ./configure \
        --with-apxs=/usr/local/jpv/inst/apache/bin/apxs \
        --with-mysql=/usr/local/jpv/inst/mysql \
        --with-config-file=/usr/local/jpv/inst/apache/conf \
        --with-xml \
        --with-oracle=/usr/local/jpv/sgi_n32_oracle_client_toolkit \
2>&1 | tee configure-`date +%Y%m%d-%H%M%S`.log 

Problem now is that the configure script is build to expect that the Oracle 'libclient.a' is in $ORACLEINST_TOP/lib ...
With the N32 SDK the're in $ORACLEINST_TOP/lib32 and the include files are in $ORACLEINST_TOP/oci/include

I think that adding the option to explicitly name the library *and* include directory would help in the configure process...

(the N32 SDK cannot be installed in the $ORACLE_HOME directory ! it would overwrite all the 64bit libs...)

J.-Ph. Velders


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Sep 25 15:05:52 2022 UTC