开发者社区> 问答> 正文

Suse 11的curl如何开启支持https?:报错

系统安装好已经有了openssl,curl等,但是curl的ssl支持是默认关闭的

如下:

curl -G https://192.168.1.203/sdk -G
curl: (1) Protocol https not supported or disabled in libcurl

用源码编译各种报错,好不容易configure过,make之后报错

`a local symbol* can not be used when making a shared object; recompile with -fPIC
libssl.a: could not read symbols: Bad value
然后就google不到了

展开
收起
kun坤 2020-06-14 13:43:38 900 0
1 条回答
写回答
取消 提交回答
  • 要把openssl也编译了才行吧……######回复 @yfwz100 : 我看的这里的:http://www.520sz.com/protocol-https-not-supported-or-disabled-in-libcurl%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95.html 如何做软连接?######@BirdZhang 按照给出的提示,是缺少 openssl 的静态链接库。######编译起来各种报错,但是系统已经装了。。。

    2020-06-14 13:43:42
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
CDN助力企业网站进入HTTPS时代 立即下载
《Nginx 代理系统常用手册》 立即下载
低代码开发师(初级)实战教程 立即下载