cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: configure with ssl in non-standard location failing

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 11 Jan 2016 22:21:56 +0100

On Mon, Jan 11, 2016 at 08:01:06PM +0000, Dave Kennard wrote:
> When I run configure I get the following errors:
>
> configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS,
> NTLM and more.
> configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl,
> --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl
> to address this.
> configure: WARNING: libpsl was not found
> configure: WARNING: Cannot find libraries for IDN support: IDN disabled
>
> My configure command is:
> ./configure --prefix=$HOME/apps/$CURL --with-ssl=$HOME/apps/openssl
> --with-nghttp2=$HOME/apps/$NGHTTP2
>
> I've also tried prepending LDFLAGS="-L$HOME/apps/openssl/lib" but get the
> same result.
>
> In the configure output I get:
>
> configure: PKG_CONFIG_LIBDIR will be set to
> "/home/djeyewater/apps/openssl/lib/pkgconfig"
> checking for pkg-config... /usr/bin/pkg-config
> checking for openssl options with pkg-config... found
> configure: pkg-config: SSL_LIBS: "-lssl -lcrypto "
> configure: pkg-config: SSL_LDFLAGS:
> "-L/home/djeyewater/apps/openssl-1.0.2e/lib "
> configure: pkg-config: SSL_CPPFLAGS:
> "-I/home/djeyewater/apps/openssl-1.0.2e/include "
> checking for HMAC_Update in -lcrypto... no
> checking for HMAC_Init_ex in -lcrypto... no
> checking for ssl_version in -laxtls... no
> checking default CA cert bundle/path... /etc/ssl/certs/ca-certificates.crt
> checking for library containing psl_builtin... no
> checking for libssh2_channel_open_ex in -lssh2... no
> checking libssh2.h usability... no
> checking libssh2.h presence... no
>
>
> I'm not sure what the problem with SSL is?

pkg-config is picking up flags tha point to
/home/djeyewater/apps/openssl-1.0.2e as the installed location of your openssl
package. If that's not correct, then make sure the environment variable
PKG_CONFIG_PATH is pointing to the directory containing the correct openssl.pc
file. Read the INSTALL file to see how this is done.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2016-01-11