Hi, +1 Statically link is a bad idea in this case, IMHO.
Nope, statically linked is the only supported method. Any given OpenLDAP release is designed specifically to work with the LMDB version it ships with. Dynamically linking it where the LMDB version could be changed underneath OpenLDAP is not supported.
--Quanah -- Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration