Problem: after compiling sendmail on Debian7 with “./Build” sendmail does not recognize hash .db files. You see the following error message:
readcf: map access: class hash not available
Discussion: ./Build should detect the berkley DB automatically. When devtools/bin/configure.sh finds libdb.so it adds -DNEWDB as compile option. On Debian7 the libdb.so file moved to /usr/lib/x86_64-linux-gnu/ and configure.sh fails to detect libdb.
Workaround: Link the libdb.so and libdb.a file to /usr/lib with these commands:
cd /usr/lib/ ln -s x86_64-linux-gnu/libdb-5.1.a libdb.a ln -s x86_64-linux-gnu/libdb-5.1.so libdb.so
Version: Debian 7, Sendmail-8.15.2