470,832 Members | 2,108 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,832 developers. It's quick & easy.

Support for BerkeleyDB 4.2

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!
Jul 17 '05 #1
0 1567

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Gerard | last post: by
reply views Thread by ulysses | last post: by
reply views Thread by Wendeline | last post: by
5 posts views Thread by shaun.mostashari | last post: by
5 posts views Thread by NormaJean Sebastian via DBMonster.com | last post: by
4 posts views Thread by Juan T. Llibre | last post: by
5 posts views Thread by Gilles Ganault | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.