Re: [Exim] Problems building 4.05 under Redhat Linux

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Patrick Boutilier
Data:  
Para: Stanier, Alan M
CC: 'exim-users@exim.org'
Assunto: Re: [Exim] Problems building 4.05 under Redhat Linux
Have you tried adding these two lines to the end of your Local/Makefile ?


DBMLIB=-ldb-3
USE_DB=yes




Stanier, Alan M wrote:
> 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
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>