https://bugs.openldap.org/show_bug.cgi?id=8988
--- Comment #26 from jhaberman@gmail.com --- I see now that https://github.com/LMDB/lmdb/commit/3947014aed7ffe39a79991fa7fb5b234da47ad1a may have fixed this issue. I was using a version older than this commit. I will try updating and see if that fixes the problem.