Page 1 of 1

php : unable to load dynamic library (where are they???)

Posted: Fri Jun 10, 2005 10:07 am
by biker007fr
Hi!
I'm trying to install php with oracle and ldap options, there is no error while executing "./configure ...", "make", "make install" but apache errors logfile gives me :

PHP Warning: Unknown(): Unable to load dynamic library './php_oci8.so'
PHP Warning: Unknown(): Unable to load dynamic library './php_oracle.so'
PHP Warning: Unknown(): Unable to load dynamic library './php_ldap.so'

I have no .so libraries neither in my php distro nor in my system...
How could it be possible??? 8O Where can I find them?

thanks for help

Posted: Fri Jun 10, 2005 10:17 am
by biker007fr
I renamed oci8.so, oracle.so found in /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ in php_oci8.so and php_oracle.so BUT...

PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'php_oci8.so' ...
PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'php_oracle.so' ...

:twisted: :twisted: :twisted:

Posted: Sun Nov 05, 2006 3:48 pm
by redcane
the php_oci8.so is a php module, that can optionally be compiled when you are compiling php. Most distributions do not compile PHP with oracle support, so you will most likely need to recompile it yourself to get the "php_oci8" module.

Posted: Sun Nov 05, 2006 6:00 pm
by feyd
18 month old thread. Image