I downloaded the patches suggested in build_cvs_howto.txt for sleepycat
I build and install it.
When I try to install openLDAP by running
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include" \
it tells me
checking for Berkeley DB version match... Berkeley DB version mismatch
header: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
library: Sleepycat Software: Berkeley DB 4.3.27: (September 9, 2005)
Do I need to download any other patches?