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

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Locked
biker007fr
Forum Newbie
Posts: 14
Joined: Thu Jun 09, 2005 7:11 am

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

Post 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
biker007fr
Forum Newbie
Posts: 14
Joined: Thu Jun 09, 2005 7:11 am

Post 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:
redcane
Forum Newbie
Posts: 1
Joined: Sun Nov 05, 2006 3:45 pm

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

18 month old thread. Image
Locked