From:             petri dot mahanen at brainalliance dot com
Operating system: Mac OS X 10.5.6
PHP version:      5.2.9
PHP Bug Type:     Compile Failure
Bug description:  PDO-OCI fails to configure due to lib suffix assumptions

Description:
------------
PDO OCI fails to configure on OS X, as the library suffix is assumed to be
'.so', while it is '.dylib'. $SHLIB_SUFFIX_NAME is correctly set in
configure, but not used in this case.

The issue also seems to be reported in a comment to unrelated bug 39312,
with a patch.

Reproduce code:
---------------
./configure [...] --enable-pdo
--with-pdo-oci=instantclient,/opt/instantclient_10_2,10.2.0.4


Expected result:
----------------
successful configure


Actual result:
--------------
checking Oracle OCI support for PDO... yes
checking Oracle Install-Dir...
instantclient,/opt/instantclient_10_2,10.2.0.4
checking if that is sane... yes
checking for oci.h... /opt/instantclient_10_2/sdk/include
configure: error: I'm too dumb to figure out where the libraries are in
your Instant Client install


-- 
Edit bug report at http://bugs.php.net/?id=48086&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48086&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48086&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48086&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48086&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48086&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48086&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48086&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48086&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48086&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48086&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48086&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48086&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48086&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48086&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48086&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48086&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48086&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48086&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48086&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48086&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48086&r=mysqlcfg

Reply via email to