From:             jeppe at arabuusimiehet dot com
Operating system: RHEL4 X86_64
PHP version:      5.1.1
PHP Bug Type:     Compile Failure
Bug description:  Oracle Instant Client fails to locate includes/libs

Description:
------------
When using Oracle Instant Client 10.2 on x86_64 the configure
script only tries the 'lib' dir, not 'lib64'.

OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | sed -e
's!^/usr/lib/oracle/\(.*\)/client/lib[/]*$!/usr/include/oracle/\1/client!`'

If I change that line s/lib/lib64/ everything works fine.



Reproduce code:
---------------
./configure
--with-oci8-instant-client=/usr/lib64/oracle/10.2.0.1/client/lib64

Expected result:
----------------
configure running thru ok.

Actual result:
--------------
checking Oracle Instant Client SDK header directory... configure: error:
Oracle Instant Client SDK header files not found

-- 
Edit bug report at http://bugs.php.net/?id=35471&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35471&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35471&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35471&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35471&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35471&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35471&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35471&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35471&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35471&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35471&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35471&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35471&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35471&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35471&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35471&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35471&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35471&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35471&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35471&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35471&r=mysqlcfg

Reply via email to