Re: [Exim] Problems with ndbm

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Andre Esser
CC: exim-users
Betreff: Re: [Exim] Problems with ndbm
On Mon, 19 Mar 2001, Andre Esser wrote:

> I´m trying to compile exim 3.22 on a SuSE 7.1 Linux box.
> The Berkeley DB Package is installed. When I type make I get
> the following error message:
>
> +++++++++++++++++++++++++++++++++++++++++++
> gcc: unrecognized option `-ndbm'


You don't want -ndbm for Berkeley DB. That's for the ndbm library.

> /tmp/ccSKlCiW.o: In function `main':
> /tmp/ccSKlCiW.o(.text+0x2b6): undefined reference to `db_open'


Looks like you haven't referenced the db library.

> My Local/Makefile-Linux looks like:
>
> +++++++++++++++++++++++++++++++++++++++++
> # Exim: OS-specific make file for Linux. This is for modern Linuxes,
> # which use libc6.
>
> BASENAME_COMMAND=look_for_it
>
> CFLAGS=-O
>
> DBMLIB = -ndbm


Try -ldb instead.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.