OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Build/6115
Full headers

From: slapd@hannebauer.name
Subject: gdi32.lib required by OpenSSL+Windows
Compose comment
Download message
State:
0 replies:
0 followups:

Major security issue: yes  no

Notes:

Notification:


Date: Wed, 13 May 2009 15:04:58 +0000
From: slapd@hannebauer.name
To: openldap-its@OpenLDAP.org
Subject: gdi32.lib required by OpenSSL+Windows
Full_Name: Christoph Hannebauer
Version: 2.4.16
OS: Windows/cygwin
URL: http://www.hannebauer.name/openldap-openssl/configure.in.patch
Submission from: (NULL) (139.18.40.169)


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

/usr/local/mingw/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xa0c): undefined
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. 
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2009, OpenLDAP Foundation, info@OpenLDAP.org