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

Re: building with TLS support



Check your /etc/ld.so.conf.   You need to make sure that the directory
locations of your libssl, etc are in that file.  Otherwise the linker won't
know where to find them.

--Darryl

----- Original Message -----
From: "Dane Foster" <dfoster@equitytg.com>
To: <openldap-software@OpenLDAP.org>
Cc: <hyc@highlandsun.com>
Sent: Friday, September 21, 2001 5:18 PM
Subject: RE: building with TLS support


> I have a similar situation, where my OpenSSL filez are in a non standard
> location.  I followed your instructions and './configure' worked without a
> hitch.  When I finally got to make a get the following error:
> <snip>
> /usr/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> make[2]: *** [libldap.la] Error 1
> make[2]: Leaving directory
> `/usr/local/src/openldap-2.0.15/libraries/libldap'
> make[1]: *** [all-common] Error 1
> make[1]: Leaving directory `/usr/local/src/openldap-2.0.15/libraries'
> make: *** [all-common] Error 1
> </snip>
>
> Unfortunately, I'm still a Linux beginner so most of the output is still
> gibberish to me.  I've attached the config.log file for anyone who is
> interested in helping figure out what's wrong.
>
> System specs:
> - Intel Pentium III Xeon 733 x2
> - 512 MB RAM
> - Linux Mandrake 8.0 (extremely stripped down version)
> - OpenLDAP v2.0.15
> - OpenSSL v 0.96b
> - Linux Kernel = 2.4.10-pre9
>
> Thanx in advance.
>
> Dane
>
> P.S. I had to bzip2 the config file because the list serv manager was
> complaining about the length of the first version of this message
>
> To: "Marko Asplund" <aspa@kronodoc.fi>, <OpenLDAP-software@OpenLDAP.org>
> Subject: RE: building with TLS support
> From: "Howard Chu" <hyc@highlandsun.com>
> Date: Thu, 20 Sep 2001 09:41:17 -0700
>
> All you need to provide is
>  CPPFLAGS=-I/usr/local/ssl/include
> and
>  LDFLAGS=-L/usr/local/ssl/lib
>
> The configure script will figure out the -DEFs and libraries.
>
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>
>