345.jpg
报错:

/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status

解决:

yum install --y glibc-static.x86_64 

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code