makemap hash support for Sendmail

Sendmail will include hash database support during compilation if it can locate the libdb.a file. This file is included in the Berkeley DB package from Sleepycat Software.

Install Berkeley DB 4.1.25 for Sendmail hash database support with makemap. Sendmail 8.12.7 and later supports Berkeley DB 4.1.

Download Berkeley DB 4.1.25 from the following URL:

Install Berkeley DB 4.1.25.

gunzip -cd db-4.1.25.tar.gz | tar xvf -
cd db-4.1.25/build_unix
make install

After installing Berkeley DB, add the following to sendmail_source_tree/devtools/Site/site.config.m4:

APPENDDEF(`confLIBDIRS', `-L/usr/local/BerkeleyDB.4.1/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/BerkeleyDB.4.1/include')

To compile Sendmail, change into the sendmail_source_treedirectory and issue the ./Build -c command (the -c flag is used to signal a change in site.config.m4). After compilation, run ./Build install to install Sendmail.

Back to

Last modified: 04/21/2003