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

Re: (ITS#5104) OpenLDAP build breaks with SSL



PLEASE KEEP REPLIES IN COPY ON THE ITS!

Richard Beckett wrote:
> I built openssl with the shared option for the config script. I have the
> LD_LIBRARY_PATH set to /usr/local/lib which is where I put the Berkeley
> DB libraries. Do I need something else?
> 
> Here is what I get from the"make" after having run "make depend":
> 
> ./.libs/libldap.a(tls.o)(.text+0x593): In function `sb_tls_bio_read':
> /usr/local/src/LDAP/openldap-2.3.38/libraries/libldap/tls.c:676:
> undefined reference to `BIO_clear_flags'

Those symbols (at least in openssl-9.8.0e) are defined in libcrypto.
You don't show the linker command line that is failing, but I still
believe your build environment is broken, since OpenLDAP explicitly
links libcrypto along with libssl.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------