关于curl: (2) Failed Initialization「建议收藏」

2022-07-10 17:14:03 浏览数 (1)

大家好,又见面了,我是全栈君。

一開始是由于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了…

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/115284.html原文链接:https://javaforall.cn

0 人点赞