[Date Prev][Date Next]
(ITS#6115) gdi32.lib required by OpenSSL+Windows
Full_Name: Christoph Hannebauer
Submission from: (NULL) (126.96.36.199)
I tried to use OpenSSL 0.9.8k for TLS in my cygwin (target MinGW) OpenLDAP
build. The configure script does not detect OpenSSL (however, it doesn't break,
instead it finishes without TLS support), because the static library cannot be
linked. The config.log file contains error messages like
reference to `_CreateDCA@16'
The missing functions are part of the library gdi32.lib. The OpenSSL readme file
INSTALL.W32 says, that Windows program using OpenSSL should link gdi32.lib (and
user32.lib, ..., but on my machine, gdi32.lib seems to be sufficient). Therefore
I have created the attached patch file to configure.in (1.697), which adds
gdi32.lib to LIBS, if it is required for OpenSSL. I have tested the patched
configure file on my machine, the build works without problems.
Glück & Kanja Consulting AG (www.glueckkanja.com) hereby places the following
modifications to OpenLDAP Software (and only these modifications) into the
public domain. Hence, these modifications may be freely used and/or
redistributed for any purpose with or without attribution and/or other notice.