码迷,mamicode.com
首页 > 其他好文 > 详细

关于curl: (2) Failed Initialization

时间:2014-07-01 08:07:03      阅读:545      评论:0      收藏:0      [点我收藏+]

标签:style   http   color   os   for   rgb   

一开始是因为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了...

关于curl: (2) Failed Initialization,布布扣,bubuko.com

关于curl: (2) Failed Initialization

标签:style   http   color   os   for   rgb   

原文地址:http://blog.csdn.net/frodo_sens/article/details/36004745

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!