ubuntu cgo: C compiler “gcc“ not found: exec: “gcc“: executable file not found in $PATH

报错:# runtime/cgo
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH

运行下面解决:

 sudo apt install gcc

再次运行:

成功!!!!!!!!! 

猜你喜欢

转载自blog.csdn.net/u010919083/article/details/128994616