Installation-error: Cannot link against libdb?

David Relson relson at osagesoftware.com
Tue Aug 15 03:45:44 CEST 2006


On Mon, 14 Aug 2006 08:40:36 +0200
Klaas Weeda wrote:

> Hi,
> 
> I downloaded the bogofilter-1.0.3.tar.gz and untarred it.
> I ran ./configure in the bogofilter-directory.
> 
> I got the following error (I had no config.cache, so I couldn't remove
> it):
> 
> checking how to link with libdb... -ldb
> checking db and dependent libraries... error
> configure: error:
> ====================================================================
> Cannot link against libdb? Try 'rm config.cache', then re-configure.
> If the problem persists, report it to the bogofilter mailing list.
> Remember to include your config.log.
> ====================================================================
> 
> Below is the config.log.
> 
> Any help is appreciated.
> 
> Regards,
> Klaas Weeda
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by bogofilter configure 1.0.3, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
> 
>   $ ./configure 
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = firewall.barito.nl
> uname -m = i686
> uname -r = 2.6.11-1.1369_FC4
> uname -s = Linux
> uname -v = #1 Thu Jun 2 22:55:56 EDT 2005

Hello Klaas,

Generally, rather than including the full output of ./configure, it's
more useful to say what distro you're using and what version of
BerkeleyDB you have installed.

"./configure --help" will show you the available configuration
options.  I think the option below will help:

  --with-libdb-prefix[=DIR] 
         search for libdb in DIR/include and DIR/lib

HTH,

David




More information about the Bogofilter mailing list