Re: Solaris 2.6, iPlanet 4.1, php 4.06 and Oracle 8.1.7

From: Date: Mon, 10 Sep 2001 12:20:47 +0000
Subject: Re: Solaris 2.6, iPlanet 4.1, php 4.06 and Oracle 8.1.7
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4265@lists.php.net to get a copy of this message
On Mon, Sep 10, 2001 at 01:58:31PM +0200, Robert Lindgren wrote: > Hi gurus! > > I hope someone has a similiar system and can point me in the right > direction. > Here's the problem. > > If I run > configure -with-ldap=/opt/ldapSDK4.0 -with-nsapi=/opt/iplanet > -with-imap=/usr/local -enable-ftp -enable-sockets > make > make install > > every thing work's just fine. But unfortunately I also want to add > oracle support. So I do > configure -with-ldap=/opt/ldapSDK4.0 -with-nsapi=/opt/iplanet > -with-oci8=/apps/oracle/product/8.1.7 -with-imap=/usr/local -enable-ftp > -enable-sockets > make > make install > > everything compiles nicely but when I start the webserver(iPlanet) I get > the message: > [myserver.se]: start failed. (2: unknown early startup error) > [myserver.se]: conf_init: Error running init function load-modules: > dlopen of /opt/iplanet/bin/libphp4.so failed (ld.so.1: ns-httpd: fatal: > libclntsh.so.8.0: open failed: No such file or directory) > [myserver.se]: server exit: status 1 please make sure that your webserver "has" $ORACLE_HOME/lib (/apps/oracle/product/8.1.7/lib) in it's shared library search path: - add it to /etc/ld.so.conf and run ldconfig (linux) *or* - add /apps/oracle/product/8.1.7/lib to your LD_LIBRARY_PATH env var before you start the web-serevr. (solaris) *or* - ls -s /apps/oracle/product/8.1.7/lib/libclntsh.so.8.0 /lib (the "hard" way - should work in all cases) re, tc

« previous php.install (#4265) next »