Date: Mon, 16 Nov 1998 09:00:38 +1000 From: Stanley.Hopcroft@ipaustralia.gov.au To: freebsd-questions@FreeBSD.ORG Subject: Sendmail 8.9.1 on an upgraded box: sh Build succeeds but can't resolve names Message-ID: <4A2566BD.007E8A62.00@noteshub01.aipo.gov.au>
next in thread | raw e-mail | index | archive | help
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. Thank you, Yours sincerely. 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?4A2566BD.007E8A62.00>