From fac113a275e71ea396824f9f666100a03e4e215f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 24 Apr 2000 15:20:58 +0000 Subject: [PATCH] configure having problem with openssl --- FAQ | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/FAQ b/FAQ index 59a3821..1a9fec3 100644 --- a/FAQ +++ b/FAQ @@ -65,3 +65,21 @@ Does curl work with other SSL libraries? If anyone does "port" curl to use a commercial SSL library, I am of course very interested in getting the patch! + +configre doesn't find OpenSSL even when it is installed +======================================================= + + Platforms: Solaris (native cc compiler) and HPUX (native cc compiler) + + When configuring curl, I specify --with-ssl. OpenSSL is installed in + /usr/local/ssl Configure reports SSL in /usr/local/ssl, but fails to find + CRYPTO_lock in -lcrypto + + Cause: The cc for this test places the -L/usr/local/ssl/lib AFTER -lcrypto, + so ld can't find the library. This is due to a bug in the GNU autoconf tool. + + Workaround: Specifying "LDFLAGS=-L/usr/local/ssl/lib" in front of ./configure + places the -L/usr/local/ssl/lib early enough in the command line to make + things work + + Submitted by: Bob Allison -- 2.7.4