[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5763) libRSAglue bug in OpenLDAP configure script

Full_Name: Eric Johanson
Version: 2.4.12
OS: Debian Linux 4.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

The "configure" script has a bug when TLS is enabled, which causes it to fail
when using recent versions of OpenSSL.  The bug is found on line 18759 of the
"configure" script in OpenLDAP 2.4.12.  The line currently reads:

LIBS="-lssl -lcrypto -lRSAglue -lrsaref $LIBS"

But the -lRSAglue and -lrsaref are old OpenSSL libraries that are not in use any
more.  I modified the above line to read:

LIBS="-lssl -lcrypto $LIBS"

This solves the problem.  However, perhaps someone wants to add logic to detect
which version of OpenSSL is being used and then vary the LIBS variable
accordingly when the configure script tests for the linkability of the
ssl3_accept() function.

Note that many Linux systems, even those that have a recent OpenSSL, may still
have the -lRSAglue and -lrsaref libraries (just for compatibility reasons).  To
reproduce this bug, you will have to search your system and remove all files
with the names libRSAglue.a and librsaref.a.