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

Re: can't compile openldap-2.0-gamma with --with-tls option

At 05:46 PM 8/30/00 +0200, Ookhoi wrote:
>Hope this is the right list for this: I can't compile openldap-2.0-gamma
>with --with-tls option
>I have openssl-0.9.5a and builded it for openssh. The make test was oke,
>and so are the ssh and sshd, so I assume openssl is oke.
>./configure --with-tls --enable-crypt --enable-dns --enable-wrappers
>which fails because it can't find openssl/ssl.h or ssl.h
>I then make this link in /usr/include:
>openssl -> /usr/local/ssl/include/openssl//

creating symlinks is generally not the answer.  I suggest you
remove the link and just tell configure where to find headers
and libraries.

env CPPFLAGS="-I/usr/local/ssl/include" LIBS="-L/usr/local/ssl/lib" \
  ./configure --with-tls --enable-crypt --enable-dns --enable-wrappers

The INSTALL document details configure's use of environments variables.