# ./makesendmail -n
This displays all the commands that make will generate
without actually executing them. If all looks well, run makesendmail
again, this time without the
LDADD= -ldbm -lcompat -lutil -lkvm
This shows one way to include that library with the V8 Makefile. Another way might look like this:
# libraries required on your system LIBS= /usr/local/lib/libresolv.a
To ensure that sendmail achieves its optimum use of lookups,
make sure that your resolver library is derived from the latest BIND release:
You will also need to include
-l44bsd on the LIBS= line
if you are running BIND 4.9.
 4.8.3 is also good. 4.9 is available via anonymous FTP from ftp.vix.com.
The tricky part is finding out which resolver library your system supports. With SunOS systems, for example, resolver support in the standard C library uses nis for name resolution. Although this setup may be good for most applications, it is inappropriate for sendmail. There is a libresolv.a, but it is based on BIND 4.3 and so should probably be replaced with a newer version.
If your resolver library is not the correct one, you need to compile and install the newest version. You should do this even if it is used only by sendmail.
ld: -l44bsd: No such file or directory
One solution is to upgrade to BIND 4.9, which will install
the lib44bsd.a library (we recommend this). Another solution
is to remove
-l44bsd from the LIBS line in your Makefile.
In general you should never get this error. But if you are building sendmail on a system that is similar to, but not identical to, one already supported, you may see such a warning. See Section 18.8.6, ERRLIST-PREDEFINED for a description of how to use ERRLIST_PREDEFINED to fix the problem, should it occur.