#39888 [WFx]: PHP 4.4.4 does not compile with Oracle OCI8 instant client

From: Date: Thu, 11 Jan 2007 10:10:41 +0000
Subject: #39888 [WFx]: PHP 4.4.4 does not compile with Oracle OCI8 instant client
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-107473@lists.php.net to get a copy of this message
ID: 39888 User updated by: Martin dot Schnoy at hydro dot com Reported By: Martin dot Schnoy at hydro dot com Status: Wont fix Bug Type: OCI8 related Operating System: AIX 5.3 ML05 PHP Version: 4.4.4 New Comment: I replaced the oci8 extension that was shipped with PHP 4.4.4 by the latest version from PECL, ran buildconf --force and called configure with parameter --with-oci8=instantclient,/usr/local/instantclient10_1. The result was the same as with the originally shipped oci8: checking for Oracle (OCI8) support... yes checking Oracle Instant Client directory... /usr/local/instantclient10_1 checking Oracle Instant Client SDK header directory... /usr/local/instantclient1 0_1/sdk/include checking Oracle Instant Client version... configure: error: Oracle Instant Clien t library version not supported Configure failes because it does not find /usr/local/instantclient10_1/libclntsh.so.10.1 Previous Comments: ------------------------------------------------------------------------ [2006-12-21 08:55:20] Martin dot Schnoy at hydro dot com Will try OCI8 from PECL. Due to holidays I will probably not find the time until Jan. 15. ------------------------------------------------------------------------ [2006-12-19 18:14:52] sixd@php.net Background information: Originally all AIX shared libraries had .a extensions. Recently AIX supports both .a and .so extensions to mean shared. ------------------------------------------------------------------------ [2006-12-19 15:35:13] Martin dot Schnoy at hydro dot com Soory, I posted a wrong Orcale SR number. The correct one is 6032016.994 ------------------------------------------------------------------------ [2006-12-19 15:15:12] tony2001@php.net Use OCI8 from PECL. ------------------------------------------------------------------------ [2006-12-19 15:12:53] Martin dot Schnoy at hydro dot com Description: ------------ Configure reqests the shared OCI library libclntsh.so. The Oracle instant client for AIX (10.1 as well as 10.2) is shipped with libclntsh.a which is supposed to be a shared library(according to Oracle support). I opened a SR at Oracle because I expect them to ship libclntsh.so. Oracle asked to report a bug at PHP also. They say PHP should link libclntsh.a on AIX. Oracle Reference: SR number 6037776.993 Reproduce code: --------------- configure --with-apxs2=/usr/local/apache2/bin/apxs --disable-cli --without-mysql --with-oci8-instant-client=/usr/local/instantclient10_1 Expected result: ---------------- Configure running successfully Actual result: -------------- ... checking for Oracle (OCI8) support using ORACLE_HOME installation... no checking for Oracle (OCI8) support using Oracle Instant Client... yes checking Oracle Instant Client directory... /usr/local/instantclient10_1 checking Oracle Instant Client SDK header directory... /usr/local/instantclient1 0_1/sdk/include checking Oracle Instant Client version... configure: error: Oracle Instant Clien t library version not supported ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39888&edit=1

« previous php.bugs (#107473) next »