[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] PHP 4.0.4pl1 on a RaQ4i (configure: error: cannot find necessary library)



I'm trying to compile PHP 4.0.4pl1 on my RaQ4i. It's a PostgreSQL setup from
the original plain vanilla install. When I run configure for the PHP install
however;

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-gettex
t --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr
/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf=/usr/l
ib/libttf.so --enable-track-vars --enable-xml --disable-debug --with-db3 --w
ith-interbase=shared --with-pgsql=shared --with-ldap --with-imap

during the "Configuring extensions" section it dies on the following error:
..."checking for Berkeley DB2 support... no
checking for db_create in -ldb... no
checking for db_create in -ldb-3... no
configure: error: cannot find necessary library

I'm assuming this is something to do with PostgreSQL? I've followed all the
installation instructions to the letter with a few additional pointers from
some helpful peeps. I'm not familiar with PHP or SQL at this point and would
appreciate any suggestions on how I can fix this problem.