Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 16:29:23 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Stanley.Hopcroft@ipaustralia.gov.au
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Sendmail 8.9.1 on an upgraded box: sh Build succeeds but can't resolve names
Message-ID:  <Pine.BSF.4.03.9811161628570.17775-100000@resnet.uoregon.edu>
In-Reply-To: <4A2566BD.007E8A62.00@noteshub01.aipo.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Nov 1998 Stanley.Hopcroft@ipaustralia.gov.au wrote:

> Dear Ladies and Gentlemen,
> 
> I am writing to describe a minor pitfall in the building of sendmail-8.9.1
> on a FreeBSD 2.2.5-RELEASE box that was upgraded from 2.1.7.1-RELEASE.
> 
> If you install sendmail-8.9.1 on a virgin release you should not have this
> problem.
> 
> The problem symptoms are that sendmail cannot resolve host names. For a
> site that forwards all incoming mail this is disastrous. Needless to say,
> the same configuration file works flawlessly with the sendmail-8.8.8
> shipped with 2.2.5.
> 
> The problem is because the sendmail "autoconfiguration" feature (the shell
> script called Build) adds -lresolv to the list of libraries used by gcc.
> 
> Workarounds include
> 
> 1 Rename /usr/lib/libresolv.a and so.whatever  to
> /usr/lib/ANCIENT-libresolve.a and so.whatever
> 
> Libresolv is no longer used with FreeBSD.
> 
> 2. Using the -S (?) switch to the Build script. This defeats the automatic
> search for libraries
> 
> 3 Hacking the Makefile in src/<object-file-name> to remove lresolv.

This is the appropriate option -- remove the reference to -lresolv.  Our
resolver libraries are in libc.


Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9811161628570.17775-100000>