curl https://sasca37.tistory.com
curl: (1) Protocol https not supported or disabled in libcurl
< /code>
Ниже приведен параметр конфигурации здания Curl. prefix =/home/project/tools/curl
-target = arm-linux-gnueabihf-host = arm-linux-gnueabihf-with-zlib =/home/project/tools/zlib-с- ssl =/home/project/tools/openssl -enable-static
После настройки информация о конфигурации показывает, что HTTPS не поддерживается.
checking whether to enable Windows native SSL/TLS (Windows native builds only)... no
checking whether to enable iOS/Mac OS X native SSL/TLS... no
configure: PKG_CONFIG_LIBDIR will be set to "/home/andykim/Project/tools/openssl/lib/pkgconfig"
checking for arm-linux-gnueabihf-pkg-config... no
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/Project/tools/openssl/lib"
configure: pkg-config: SSL_CPPFLAGS: "-I/home/Project/tools/openssl/include"
checking for CRYPTO_lock in -lcrypto... no
checking for CRYPTO_add_lock in -lcrypto... no
checking for ssl_version in -laxtls... no
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.
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
Я думаю, что параметр конфигурации (-with-ssl) не применяется нормально.
Почему происходит эта ошибка?
Спасибо < /p>
Я устанавливаю завиток в среде компиляции Arm.[code]curl https://sasca37.tistory.com curl: (1) Protocol https not supported or disabled in libcurl < /code> Ниже приведен параметр конфигурации здания Curl. prefix =/home/project/tools/curl -target = arm-linux-gnueabihf-host = arm-linux-gnueabihf-with-zlib =/home/project/tools/zlib-с- ssl =/home/project/tools/openssl -enable-static
После настройки информация о конфигурации показывает, что HTTPS не поддерживается. checking whether to enable Windows native SSL/TLS (Windows native builds only)... no checking whether to enable iOS/Mac OS X native SSL/TLS... no configure: PKG_CONFIG_LIBDIR will be set to "/home/andykim/Project/tools/openssl/lib/pkgconfig" checking for arm-linux-gnueabihf-pkg-config... no 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/Project/tools/openssl/lib" configure: pkg-config: SSL_CPPFLAGS: "-I/home/Project/tools/openssl/include" checking for CRYPTO_lock in -lcrypto... no checking for CRYPTO_add_lock in -lcrypto... no checking for ssl_version in -laxtls... no 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.
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 [/code] Я думаю, что параметр конфигурации (-with-ssl) не применяется нормально. Почему происходит эта ошибка? Спасибо < /p>