Bug #61154 [Com]: configure fails with Oracle Instantclient 11.2
| From: | wayne dot krauth at insuranceautomationgroup dot co | Date: | Wed, 22 Feb 2012 16:36:58 +0000 |
| Subject: | Bug #61154 [Com]: configure fails with Oracle Instantclient 11.2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-167736@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61154&edit=1
ID: 61154
Comment by: wayne dot krauth at insuranceautomationgroup dot co
Reported by: wayne dot krauth at insuranceautomationgroup dot co
Summary: configure fails with Oracle Instantclient 11.2
Status: Feedback
Type: Bug
Package: OCI8 related
Operating System: aix 6.1
PHP Version: 5.3.10
Assigned To: sixd
Block user comment: N
Private report: N
New Comment:
In previous installs using instant client, I found that you need to create a link as follows:
lrwxrwxrwx 1 root system 12 Feb 14 10:13 libclntsh.so.11.2 -> libclntsh.so
The configure command that I used is:
./configure --cache-file=../config.cache \
--with-gnu-ld \
--prefix=/opt/freeware \
--with-config-file-path=/opt/freeware/etc \
--with-config-file-scan-dir=/opt/freeware/etc/php.d \
--disable-debug \
--enable-shared \
--enable-static \
--without-pear \
--with-gd=/opt/freeware \
--with-openssl=/opt/freeware \
--with-zlib \
--with-bz2 \
--with-curl=/opt/freeware \
--with-t1lib=/opt/freeware \
--with-freetype-dir=/opt/freeware \
--with-jpeg-dir=/opt/freeware \
--with-png-dir=/opt/freeware \
--with-xpm-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware \
--enable-soap \
--enable-bcmath \
--enable-sockets \
--with-iconv \
--enable-dom \
--enable-json \
--with-pcre-regex=/opt/freeware \
--disable-ftp \
--disable-phar \
--with-mhash \
--with-mcrypt \
--with-apxs2=/opt/freeware/sbin/apxs \
--with-oci8=instantclient,/opt/instantclient_11_2
Previous Comments:
------------------------------------------------------------------------
[2012-02-21 22:15:53] sixd@php.net
What created libclntsh.so.11.2? The instantclient-basic-aix.ppc64-11.2.0.3.0.zip
and instantclient-basic-aix.ppc32-11.2.0.3.0.zip files only contain libclntsh.so
What's your configure line?
------------------------------------------------------------------------
[2012-02-21 15:04:35] wayne dot krauth at insuranceautomationgroup dot co
Description:
------------
Trying to build php 6.3.10 on AIX 6.1, and including the oci8 InstantClient 11.2 from Oracle fails
at the configure stage.
Configure reports: checking Oracle Instant Client library version compatibility... configure: error:
Oracle Instant Client libraries libnnz.so and libclntsh.so not found
I modified the configure script to solve this problem, changing a 1 to a 2 as seen in the before and
after lines:
# OCI8_LCS=
ls $OCI8_LCS_BASE.*.1 2> /dev/null | tail -1 # Oracle 10g, 11g etc
OCI8_LCS=ls $OCI8_LCS_BASE.*.2 2> /dev/null | tail -1 # Oracle 10g, 11g etc
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61154&edit=1