From owner-freebsd-questions Sun Nov 15 14:03:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07501 for freebsd-questions-outgoing; Sun, 15 Nov 1998 14:03:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pericles.IPAustralia.gov.au (pericles.IPAustralia.gov.au [202.14.186.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA07496 for ; Sun, 15 Nov 1998 14:02:56 -0800 (PST) (envelope-from Stanley.Hopcroft@ipaustralia.gov.au) From: Stanley.Hopcroft@ipaustralia.gov.au Received: (from smap@localhost) by pericles.IPAustralia.gov.au (8.9.1/8.9.1) id JAA18927 for ; Mon, 16 Nov 1998 09:02:32 +1100 (EST) X-Authentication-Warning: pericles.IPAustralia.gov.au: smap set sender to using -f Received: from noteshub01.aipo.gov.au(10.0.100.21) by pericles.IPAustralia.gov.au via smap (V2.0) id xma018920; Mon, 16 Nov 98 09:02:06 +1100 Received: by noteshub01.aipo.gov.au(Lotus SMTP MTA v4.6.2 (693.3 8-11-1998)) id 4A2566BD.007E8BFB ; Mon, 16 Nov 1998 09:02:13 +1000 X-Lotus-FromDomain: IP_AUSTRALIA To: freebsd-questions@FreeBSD.ORG Message-ID: <4A2566BD.007E8A62.00@noteshub01.aipo.gov.au> Date: Mon, 16 Nov 1998 09:00:38 +1000 Subject: Sendmail 8.9.1 on an upgraded box: sh Build succeeds but can't resolve names Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Thank you, Yours sincerely. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message