Re: [Exim] exim 3.32 compile error on redhat 6.1

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Ralf Sticklies
CC: exim-users
Subject: Re: [Exim] exim 3.32 compile error on redhat 6.1
On Sat, 25 Aug 2001, Ralf Sticklies wrote:

> dns.o(.text+0xd): undefined reference to `res_init'


res_init() is a function that is part of the DNS resolver library. So I
suspect that the link is failing to find your DNS resolver library. For
example, on Solaris you have to have -lresolv on the link command. Check
out the man pages for the resolver ('man resolver' might work). If it
says you need something special, put (e.g.)

LIBRESOLV=-lresolv

in your Local/Makefile.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.