php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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...)

Greetings,
J.-Ph. Velders
<jpv@cwi.nl>

Patches

Pull Requests

History

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jun 03 00:01:26 2025 UTC