--On Thursday, October 28, 2021 2:10 PM +0000 c.venugopal521@gmail.com wrote:
Hi Team,
I am planning to migrate the NSLDAP C SDK to OpenLDAP (2.5/2.6) client SDK of the latest version. For this, I need to build OpenLDAP libraries/dlls to use them for our source code compilation and to run our application.
Can someone please provide detailed steps to compile OpenLDAP on Windows platform with Microsoft Visual Studio 2019 as C compiler.
- How to prepare a build environment (like any Cygwin installation
required?) - What are the prerequisites for building OpenLDAP on Windows?
- How to pass prerequisites while building OpenLDAP
- What are the ENV variables that need to be set before building OpenLDAP
code? - What are the options that we should pass to ./configure to generate .libs and .dlls (shared libs and static) along with TLS (say: OpenSSL as SSL provider) - What are the changes required in OpenLDAP source code to compile successfully on Windows with MSVC compiler if any?
I've generally used MSYS2 to compile OpenLDAP on Windows.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com