Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1529

How to CURL support to use HTTPS

$
0
0

I install the curl on the arm cross compile environment.

But the following error occurred

curl https://sasca37.tistory.comcurl: (1) Protocol https not supported or disabled in libcurl

The below is the configuration option of the curl building.

./configure --disable-shared --prefix=/home/Project/tools/curl--target=arm-linux-gnueabihf --host=arm-linux-gnueabihf --with-zlib=/home/Project/tools/zlib --with-ssl=/home/Project/tools/openssl --enable-static

After configuring, the configuration information shows that the https is not supported.

checking whether to enable Windows native SSL/TLS (Windows native builds only)... nochecking whether to enable iOS/Mac OS X native SSL/TLS... noconfigure: PKG_CONFIG_LIBDIR will be set to "/home/andykim/Project/tools/openssl/lib/pkgconfig"checking for arm-linux-gnueabihf-pkg-config... nochecking for pkg-config... /usr/bin/pkg-configchecking for openssl options with pkg-config... foundconfigure: pkg-config: SSL_LIBS: "-lssl -lcrypto"configure: pkg-config: SSL_LDFLAGS: "-L/home/Project/tools/openssl/lib"configure: pkg-config: SSL_CPPFLAGS: "-I/home/Project/tools/openssl/include"checking for CRYPTO_lock in -lcrypto... nochecking for CRYPTO_add_lock in -lcrypto... nochecking for ssl_version in -laxtls... noconfigure: 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.  curl version:     7.37.1  Host setup:       arm-unknown-linux-gnueabihf  Install prefix:   /home/Project/tools/curl  Compiler:         arm-linux-gnueabihf-gcc  SSL support:      no      (--with-{ssl,gnutls,nss,polarssl,cyassl,axtls,winssl,darwinssl} )  SSH support:      no      (--with-libssh2)  zlib support:     enabled  GSS-API support:  no      (--with-gssapi)  SPNEGO support:   no      (--with-spnego)  TLS-SRP support:  no      (--enable-tls-srp)  resolver:         default (--enable-ares / --enable-threaded-resolver)  ipv6 support:     no      (--enable-ipv6)  IDN support:      no      (--with-{libidn,winidn})  Build libcurl:    Shared=no, Static=yes  Built-in manual:  enabled  --libcurl option: enabled (--disable-libcurl-option)  Verbose errors:   enabled (--disable-verbose)  SSPI support:     no      (--enable-sspi)  ca cert bundle:   no  ca cert path:     no  LDAP support:     no      (--enable-ldap / --with-ldap-lib / --with-lber-lib)  LDAPS support:    no      (--enable-ldaps)  RTSP support:     enabled  RTMP support:     no      (--with-librtmp)  metalink support: no      (--with-libmetalink)  HTTP2 support:    disabled (--with-nghttp2)  Protocols:        DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP TELNET TFTP

I guess that the configuration option(--with-ssl) is not applied normally.

Why does this error happen?

Thanks


Viewing all articles
Browse latest Browse all 1529

Trending Articles