Chris,

Looks like libphp4.so need sto know where libdb2.so.1 is. I would look at two 
things: if db2 libraries are not in the standard location then you need to 
specify the location in --with-ibm-db2=/home/.... (this is a guess).

or

look at ldconfig - you will probably need to specify the db2 library locations
in /etc/ld.so.conf and run ldconfig so the libraries can be found.

Hope this helps,
Wayne



On Mon,  5 Feb 2001 15:08, Chris Book wrote:
> Hello,
>
> I've installed db2 and created the default instance at /home/db2inst1/.
> PHP is compiled with the --with-ibm-db2 option, however when I try to start
> apache I get the message:  "Cannot load /etc/httpd/modules/libphp4.so into
> server: libdb2.so.1: cannot open shared object file: No such file or
> directory" when I try to load the php4 module.  libdb2.so.1 exists in
> /home/db2inst1/sqllib/lib/ so I'm not sure why php can't find it.  Can
> anyone help me with this?
>
> Thanks,
> Chris Book
> [EMAIL PROTECTED]

-- 
Wayne Bastow - DBA - Central Coast Health Phone: 61 2 43203231
Email: wbastowATccahsDOThealthDOTnswDOTgovDOTau
 
Linux, the choice of a GNU generation Kernel 2.2.16-22 on a i686
 
 Running Windows on a Pentium is like having a brand new Porsche but
 only be able to drive backwards with the handbrake on. (Unknown
 source)

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to