Benjamin Bellec writes:
BDB 4.2 is the problem. My server use BDB 4.3 and I don't now how to tell OpenLDAP to use BDB 4.2 instead of 4.3.
By the way, BDB 4.3 is a lousy version to use with OpenLDAP anyway, bad enough that OpenLDAP configure rejects it.
BDB 4.2.52 is likely your best choice if you have a choice - provided you get the patches for that version on Oracle's website. With OpenLDAP 2.2, also apply openldap-2.2.30/build/BerkeleyDB42.patch to bdb. If you can't do that, read the notes for these patches about what they fix.