github上的解决方案

https://github.com/archlinuxfr/yaourt/issues/287

curl_easy_perform()返回值说明
在移植别人的sdk的时候发现

errno 2  好像是缺少一个文件的意思.
curl_easy_perform()返回值说明
CURLE_SSL_CACERT_BADFILE,      /* 77 - could not load CACERT file, missing    77:    problem with the SSL CA cert (path? access rights?)  

https://curl.haxx.se/docs/caextract.html
从这个网站上下载最新的cacert.pem 然后放在/etc/ssl/certs/ca-certificates.crt,这样就不会报错了.
应该是缺少ca(好像是认证信息的意思)

相关文章:

  • 2021-12-10
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2021-11-14
猜你喜欢
  • 2021-08-20
  • 2022-01-18
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2021-07-17
相关资源
相似解决方案