#48086 [Bgs]: PDO-OCI fails to configure due to lib suffix assumptions
| From: | petri dot mahanen at brainalliance dot com | Date: | Tue, 28 Apr 2009 12:09:42 +0000 |
| Subject: | #48086 [Bgs]: PDO-OCI fails to configure due to lib suffix assumptions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136443@lists.php.net to get a copy of this message | ||
ID: 48086
User updated by: petri dot mahanen at brainalliance dot com
Reported By: petri dot mahanen at brainalliance dot com
Status: Bogus
Bug Type: PDO related
Operating System: Mac OS X 10.5.6
PHP Version: 5.2.9
New Comment:
Same as comment [29 Jan 11:37am UTC] michael-ring at t-online dot de in
bug #39312.
Previous Comments:
------------------------------------------------------------------------
[2009-04-27 15:11:27] jani@php.net
Same as bug #39312
------------------------------------------------------------------------
[2009-04-27 10:15:54] petri dot mahanen at brainalliance dot com
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 this bug report at http://bugs.php.net/?id=48086&edit=1