[EXIM] How to compile exim 1.82 on RedHat 5

Top Page
Delete this message
Reply to this message
Author: Mats Lejon
Date:  
To: exim-users
Subject: [EXIM] How to compile exim 1.82 on RedHat 5
Hello. I am trying to compile exim 1.82 on a Linux Redhat 5. As far as I
know, I have done a full intallation of RedHat.

After I had changed -lndbm to -lgdbm and added LIBRESOLV=-lresolv exim
compiles fine with HAVENIS=no, but if I set HAVENIS=yes I get the following
error in the final linking of exim:

gcc -o exim  accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o
directo
ry.o drtables.o exim.o expand.o filter.o globals.o header.o host.o log.o
match.o
 moan.o os.o parse.o queue.o readconf.o retry.o rewrite.o route.o search.o
smtp_
in.o spool_in.o spool_out.o store.o string.o tod.o transport.o tree.o
verify.o v
ersion.o \
     libident/libident.a pcre/libpcre.a directors/directors.a \
     routers/routers.a transports/transports.a \
        -lgdbm -lresolv
search.o: In function `search_open':
search.o(.text+0x424): undefined reference to `yp_get_default_domain'
search.o: In function `internal_search_find':
search.o(.text+0x906): undefined reference to `yp_match'
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/src/exim-1.82/build-Linux-i386'
make: *** [go] Error 2


I guess I have to link some more library, but I can not find out which. Can
someone who has done this help me.

    many thanks in advance


    Mats Lejon, University Trollhattan/Uddevalla




--
*** Exim information can be found at http://www.exim.org/ ***