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 you�re looking for faster
> http://search.yahoo.com




-- 
Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to