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:

Oracle accepted this issue as bug #5722859 and will distribute the .so
in further releases.


Previous Comments:
------------------------------------------------------------------------

[2007-01-11 11:15:58] [EMAIL PROTECTED]

Works just fine on AIX, Solaris and other weird OSes using the way I've
described. Fix your linker or ask Oracle to provide dynamic libraries
instead.

------------------------------------------------------------------------

[2007-01-11 11:08:53] Martin dot Schnoy at hydro dot com

I tried that already last December. Here is an extract of my posting to
Orcale SR 6032016.994:

I linked libclntsh.a as libclntsh.so and 
libclntsh.so.10.1 and compiled PHP 4.4.4. There were no errors at
compile time. 
However, there was an error when Apache 2 tried to load the PHP
module:

httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: 
Cannot load /usr/local/apache2/modules/libphp4.so into server: 

rtld: 0712-001 Symbol OCIInitialize was referenced from module 

/usr/local/apache2/modules/libphp4.so
(), but a runtime definition of the symbol was not found.

nrtld: 0712-001 Symbol OCIEnvInit was referenced from module 
/usr/local/apache2/modules/libphp4.so(),
but a runtime definition of the symbol was not found.

rtld: 0712-001 Symbol OCIHandleAlloc was referenced from module 
/usr/local/apache2/modules/libphp4.so(),
but a runtime definition of the symbol was not found.

rtld: 0712-001 Symbol OCIErrorGet was referenced from module 
/usr/local/apache2/modules/libphp4.so(),
but a runtime definition of the symbol was not found.

rtld: 0712-001 Symbol OCIHandleFree was referenced from module 
/usr/local/apache2/modules/libphp4.so(),
but a runtime definition of the symbol was not found.

rtld: 0712-001 Symbol OCITransRollback was referenced from module 
/usr/local/apache2/modules/libphp4.so(),
but a runtime definition of the symbol was not found.

rtld: 0712-001 Symbol OCIDescriptorFree was referenced from module 

/usr/local/apache2/modules/libphp4.so(), but a runtime definition of
the symbol 
was not found.

0509-021 Additional errors occurred but are not reported.

This is because libclntsh.a is in fact no shared library. It is a
static 
library that can not be used as a shared library.

------------------------------------------------------------------------

[2007-01-11 10:53:07] [EMAIL PROTECTED]

Then create both .so and .so.10.1 as symlinks to .a.


------------------------------------------------------------------------

[2007-01-11 10:31:56] Martin dot Schnoy at hydro dot com

There is no /usr/local/instantclient10_1/libclntsh.so, only a
/usr/local/instantclient10_1/libclntsh.a. Orcale does not ship
libclntsh.so with instant client for AIX.

------------------------------------------------------------------------

[2007-01-11 10:20:48] [EMAIL PROTECTED]

>Configure failes because it does not find
>/usr/local/instantclient10_1/libclntsh.so.10.1

ln -s /usr/local/instantclient10_1/libclntsh.so
/usr/local/instantclient10_1/libclntsh.so.10.1

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/39888

-- 
Edit this bug report at http://bugs.php.net/?id=39888&edit=1

Reply via email to