外部链接crypto / rc4.a失败

史蒂芬·芬斯(Steven Fines):

我在编译本身深处某个地方的代码时遇到问题,它尝试链接到go的crypto / rc4,但返回以下链接错误:

truncated object file: /usr/local/go/pkg/linux_amd64/crypto/rc4.a: EOF
crypto/rc4.NewCipher: call to external function
crypto/rc4.init: call to external function
crypto/tls.cipherRC4: relocation target crypto/rc4.NewCipher not defined
crypto/tls.cipherRC4: relocation target type.*crypto/rc4.Cipher not defined
crypto/tls.init: relocation target crypto/rc4.init not defined
crypto/tls.cipherRC4: undefined: "crypto/rc4.NewCipher"
crypto/tls.cipherRC4: undefined: "type.*crypto/rc4.Cipher"
crypto/tls.init: undefined: "crypto/rc4.init"

以下是我的go变量:

GOPATH=/home/sfines/workspace/audit_system
GOROOT=/usr/local/go

我的Go版本是: go version go1.9.2 linux/amd64

我确保只安装了一个Go版本。我机智。

马克:

这是精简版的Go安装,缺少或部分文件。全新安装(无错误)可解决此问题。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章