Re: [Exim] Incorrect Berkeley DB version

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Bradford Carpenter
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Incorrect Berkeley DB version
On Sat, 10 Apr 2004, Bradford Carpenter wrote:

> Just tried working with dbm lookups in exim for the first time. But
> exim seems unable to determine the version of Berkeley DB that's
> running.
>
> I have db4 4.2.52 installed on OS X (using darwinports), but "exim -bV"
> shows only "Probably Berkeley DB version 1.8x (native mode)". Didn't
> think this was a problem until I tried a lookup directly from my
> spamprobe db4 file using exim:
>
> failed to open /.spamprobe/sp_words as a db (v1) file: Inappropriate
> file type or format
>                                             ^^^^

>
> Any ideas on why exim can't detect the installed Berkeley DB version?
> Where does exim look to get this info?


When Exim is compiled, it is linked with an appropriate DBM library.
Apparently, when you compiled Exim, you didn't specify the libraries and
include files for BDB 4, but instead those for BDB 1.8. Or, if you did
not compile Exim, whoever did compile it set it up that way.

To use BDB 4 you need to have an Exim binary that was linked with the
BDB 4 library. Section 4.3 of the Exim manual discusses these issues.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book