[Exim] Problems building 4.05 under Redhat Linux

Top Page
Delete this message
Reply to this message
Author: Stanier, Alan M
Date:  
To: 'exim-users@exim.org'
Subject: [Exim] Problems building 4.05 under Redhat Linux
We are trying to build 4.05 on a Dell Poweredge 2550 running Redhat Linux
7.1

Initially we had compilation problems because db.h was missing.

We found there was a /usr/include/db.h in db3-devel\* and
rpm -qa | grep db
showed we w had db3 installed. So we ran
rpm -Uvh ftp://rpm0/rh71i/db3-devel\*

and compilation then went OK. But then we get ...

gcc -c -O    version.c
rm -f exim
gcc -o exim  acl.o child.o daemon.o dbfn.o debug.o deliver.o directory.o
dns.o drtables.o enq.o exim.o expand.o filter.o globals.o header.o host.o
ip.o log.o match.o moan.o os.o parse.o queue.o rda.o readconf.o receive.o
retry.o rewrite.o route.o search.o smtp_in.o smtp_out.o spool_in.o
spool_out.o store.o string.o tls.o tod.o transport.o tree.o verify.o
local_scan.o  version.o \
  pcre/libpcre.a \
  routers/routers.a transports/transports.a lookups/lookups.a \
  auths/auths.a \
  -lresolv -lnsl -lcrypt    \
   -ldb
lookups/lookups.a(dbmdb.o): In function `dbmdb_open':
dbmdb.o(.text+0x29): undefined reference to `db_open'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/exim-4.05/build-Linux-i386'
make: *** [go] Error 2
[root@serlinux14 exim-4.05]#


Having checked all the documentation (README, Local/Makefile and docs/dbm*),
I am now at a loss.

Can anyone suggest what we try next?



--------
Alan Stanier
Essex University Information Systems Services
Systems Group