[milters] Archive

Lists Index Date Thread Search

Article: 229
From: Oleg Golovanov
Date: 2004-10-27 01:17:31 -0400
Subject: Re: snert and milter-spamc linking to different libdb

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

----- Original Message -----
From: "Paul Heinlein" <heinlein@madboa.com>
To: <milters@milter.info>
Sent: Tuesday, October 26, 2004 12:07 AM
Subject: [milters] snert and milter-spamc linking to different libdb


> Removal...........: milters-request@milter.info?subject=remove
> More information..: http://www.milter.info/#Support
> --------------------------------------------------------
>
> I've been running milter-spamc-0.22/libsnert-1.36 quite happily since
> the end of July, but I noticed that the release versions are now at
> milter-spamc-0.25/libsnert-1.40. I've been trying to keep my
> installation relatively current, so I downloaded the latest versions
> and tried to compile them.
>
> My system is Gentoo/SPARC, and I've got a few different Berkeley DB
> libraries floating around: libdb-3.2, libdb-4.0, and libdb-4.1.
>
> The libsnert configure script finds 3.2
>
>    LIBS.........: -ldb-3.2 -lpthread -lrt
>
> but the milter-spamc configure script finds 4.1
>
>    LIBS.........: -ldb-4.1 -lsnert -lmilter -lpthread -lrt
>
> The upshot is that milter-spamc compilation fails because libsnert.a
> has no knowledge of `db_create_4000' or `db_version_4000'.

You may try quick solution is to set up flags for configure script both for
libsnert and milter-spamc:
CPPFLAGS="-I/path-to-include-files-for-bdb"
LDFLAGS="-L/path-to-libraries-files-for-bdb"

> Has anyone else seen this?
>
> I've saved both config.log files and can make them available if that'd
> help.
>
> --Paul Heinlein <heinlein@madboa.com>
>
>


Lists Index Date Thread Search