[Exim] Problems making Exim 4.22 on Redhat 9 with DB4

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Steve Burkett
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Problems making Exim 4.22 on Redhat 9 with DB4
Hi guys!

I'm having difficulties trying to make Exim 4 with Redhat 9. I've got
the latest versions of Exim and Berkeley DB (as at 21 August 03), that
is:

Exim 4.22
Db-4.1.25

Berkeley DB has installed to /usr/local/BerkeleyDB.4.1/ and I've added
the following to the Makefile as per the FAQ:

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

Now when I do the Make I get the following error:

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+0x2ab): In function `main':
: undefined reference to `db_create'
collect2: ld returned 1 exit status
make[1]: *** [exim_dbmbuild] Error 1
make[1]: Leaving directory `/tmp/exim-4.22/build-Linux-i386'
make: *** [go] Error 2

I've trawled through Google search results for this error, and it is
seems like others have had the same sorts of problems, but a lot of the
suggestions aren't helpful as they are for differing versions of
linux/bdb/Exim. Same with the mailing list archive. Anyone got this
compiled on an up to date Redhat system? Anyone know what I'm missing
here?

Any help appreciated!


Steve.