SUMMARY: compiling sendmail

From: Dave McFerren (
Date: Wed Aug 07 1996 - 13:35:28 CDT


Earlier this morning I sent this message....

 I have been trying to compile the sendmail.8.7.5 using the gcc 2.7.2 on a sparc 20. Everything appears to compile properly, but at the link stage I get this error.
> gcc -o sendmail alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o mci.o mime.o parseaddr.o queue.o readcf.o recipient.o savemail.o srvrsmtp.o stab.o stats.o sysexits.o trace.o udb.o usersmtp.o util.o version.o -L/usr/sww/lib -lresolv -l44bsd -lsocket -lnsl -lelf
> ld: fatal: library -l44bsd: not found


I got many replies in less than two hours!

Essentially the solution is to go to the sendmail-8.7.5/src/Makefiles directory and edit the Makefile for your particular system. The Makefiles even have this section documented on why and how to deal with this problem.

>From "Christopher L. Barnard" <>
I got the following message which explains a lot....

lib44bsd comes with bind 4.9.3, and you must use it if you have bind 4.9.3,
but cannot if you don't. If you don't have plans to install the latest bind
anytime soon, just remove -l44bsd from your make. If you can, you'll be
happier in the long run if you also install the latest bind and leave the
sendmail build alone.

I believe this is in the comp.mail.sendmail FAQ, btw.

Thanks to the over ten people that so quickly responded to my question. I become more indebted to this list every day!

Dave McFerren
Tybrin Commercial Systems Administrator
(904)664 6144 fax (909)664 6377
"It never hurts to help!" - Eek the Cat.

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:06 CDT