Re: support for Berkeley DB 4.2???
| From: | Marcus Boerger | Date: | Sun, 07 Mar 2004 23:21:42 +0000 |
| Subject: | Re: support for Berkeley DB 4.2??? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8432@lists.php.net to get a copy of this message | ||
Hello,
php doesn't know about db4.2 yet. Hence it finds the link db4.0.so
which results in another lib finally. I'll add it...
Wednesday, March 3, 2004, 8:47:57 PM, you wrote:
> 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!
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what youre looking for faster
> http://search.yahoo.com
--
Best regards,
Marcus mailto:helly@php.net