Hi all,
I am wondering if it's possible to build PHP to support the newer
Berkeley DB 4.2 instead of 4.0. I have libdb-4.2.so installed in a
none system directory:
/home/me/db/lib/libdb-4.2.so
so when I configure, I do:
../configure --prefix=/home/me/php
--with-apxs2=/home/me/apache/bin/apxs --enabled-dba=shared
--with-db4=/home/me/db/lib
configure ran without problem so I did a make and make install
afterward. Again, there is no error. However, the dba.so built is
still linked against the older version of Berkeley DB:
$ ldd /home/me/php/lib/php/extension/no-debug-non-zts-20020429/dba.so
libdb-4.0.so => /lib/libdb-4.0.so
....
as if it's ignoring the --with-db4[=DIR] configuration flag. Why is
that? How do I build PHP to support the newer version of BerkeleyDB?
Thanks!