go get 安装报错 x509: failed to load system roots a...

sh-3.2# go get github.com/PuerkitoBio/goquery
package code.google.com/p/cascadia: Get https://code.google.com/p/cascadia/source/checkout?repo=: dial tcp 74.125.31.101:443: operation timed out
package code.google.com/p/go.net/html: Get https://code.google.com/p/go/source/checkout?repo=net: x509: failed to load system roots and no roots provided

解决办法:

cd /usr/loacl/go/src/ 

sh-3.2# CGO_ENABLED=1 ./make.bash

本文来自:开源中国博客

感谢作者:tiank

查看原文:go get 安装报错 x509: failed to load system roots a...

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。