[Exim] Problems Building 4.20 with BerkeleyDB.4.1.25

Top Page
Delete this message
Reply to this message
Author: Stephen Kitchener
Date:  
To: exim-users
Subject: [Exim] Problems Building 4.20 with BerkeleyDB.4.1.25
Hi

I hope someone can help.

I get

gcc -c -O -I/usr/local/BerkeleyDB.4.1/include -o exim_dbmbuild.o
exim_dbmbuild.c
gcc -o exim_dbmbuild exim_dbmbuild.o \
-lnsl -lcrypt -L/usr/local/BerkeleyDB.4.1/lib/libdb.a
exim_dbmbuild.o(.text+0x2b6): In function `main':
: undefined reference to `db_create'
collect2: ld returned 1 exit status
make[1]: *** [exim_dbmbuild] Error 1
make[1]: Leaving directory `/usr/local/exim-4.20/build-Linux-i386'
make: *** [go] Error 2

I have set in the Local/Makefile the following

USE_DB=yes

INCLUDE=-I/usr/local/BerkeleyDB.4.1/include
DBMLIB=-L/usr/local/BerkeleyDB.4.1/lib/libdb.a

as extras to the Makefile, as described in the help on exims site.

I have also tried exim 4.14 and BerkeleyDB.3.3 but I get the same errors
essentially, ie it stopps at the same point

Does anyone have any suggestions as to why this is happening and what I can do
to help the comiliation succeed ?

Thanks
--
                 O  o
            _\_   o
         \\/  o\ .
         //\___=
            ''
Mon, 25 Aug 2003 23:06:28 +0100
 23:06:28 up 14:28,  2 users,  load average: 2.01, 2.02, 2.00
I am a bookaholic.  If you are a decent person, you will not sell me
another book.