https://bugs.openldap.org/show_bug.cgi?id=9979
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to mehdi.chinoune from comment #2)
Are you sure that it builds when passing --with-tls=openssl?
Again, your questions on how to build software should be directed to the openldap-technical list.