首页 > 代码库 > 关于curl: (2) Failed Initialization
关于curl: (2) Failed Initialization
一开始是因为curl无法访问https网上说,要重新编译安装curl
我就下载..
./configure
make
make install
结果出现
curl: (2) Failed Initialization
好吧,我整个人都跪了.
满世界找原因...
找到这个
It means that the curl binary is picking up the system curl library. While it was linked at compile time to the correct library, at run-time it‘s picking up the incorrect library, which seems to be a pretty typical reason for this error happening.
所以主要在confure的时候加上--disable-shared
然后make ....
就OK了...
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。