curl:(1)libcurl中不支持或禁用协议https
我正在尝试使用curl
安装框架,但我不断收到这个恼人的错误消息curl: (1) Protocol https not supported or disabled in libcurl
。 有谁知道如何解决这一问题? 我是堆叠的!
谢谢
经过几个小时尝试各种选项后,我设法解决了这个问题! 这是我做的:
从http://curl.haxx.se/download.html下载。
tar -xzf curl-***.tar.gz cd curl-*.*.* ./configure --with-ssl make sudo make install
官方cURL不支持HTTPS。 上面的答案对我不起作用,已经尝试下载添加了–with-ssl命令的新版本并且没有运气,这个答案解决了我的问题。
https://stackoverflow.com/a/28782797/8146700
- 内容链接 –
我仍然不知道为什么使用Aptitude安装不支持HTTPS的版本但是从头开始构建技巧:
git clone https://github.com/bagder/curl.git sudo apt-get build-dep curl cd curl ./buildconf ./configure make sudo make install
现在curl-V收益率
协议:dict文件ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftpfunction:IDN IPv6大文件NTLM NTLM_WB SSL libz TLS-SRP UnixSockets