[Box Backup-dev] Configuring BerkeleyDB for 0.10 build

Martin Ebourne boxbackup-dev@fluffy.co.uk
Sun, 19 Feb 2006 16:58:48 +0000


On Sun, 2006-02-19 at 08:48 -0800, Gary wrote:
> Hi,
> 
> I am trying to get the new 0.10 built under RedHad9. Since BDB upgrade is necessary for 0.10, I
> built and installed it to /usr/local/BerkeleyDB.4.4. However, when I try to customize the
> configure with:
> 
> ./configure --with-bdb-dir=/usr/local/BerkeleyDB.4.4
> 
> ... it will detect the headers, but not the lib:
> 
> checking db.h presence in /usr/local/BerkeleyDB.4.4/include... yes
> checking for db.h... 4.4.20
> checking for library containing Berkeley DB 4.4.20... no
> configure: no Berkeley DB version  or higher found
> 
> /usr/local/BerkeleyDB.4.4/lib/libdb.a is there just fine. I guess I need a BDB equivalent of
> --with-ssl-lib=DIR?

That's a static library. It's looking for a shared lib. You can try
--enable-static-bin but then it may not find dependencies it needs.

Cheers,

Martin.