From owner-freebsd-questions Mon Nov 16 16:30:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14443 for freebsd-questions-outgoing; Mon, 16 Nov 1998 16:30:05 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA14374 for ; Mon, 16 Nov 1998 16:29:59 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id QAA15707; Mon, 16 Nov 1998 16:29:23 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 16 Nov 1998 16:29:23 -0800 (PST) From: Doug White 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 In-Reply-To: <4A2566BD.007E8A62.00@noteshub01.aipo.gov.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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/ 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