/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 on centos
[nobin@CentOS9 tc-dump]$ CGO_ENABLED=1 go build # github.com/Asphaltt/tc-dump /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: cannot find -lresolv /usr/bin/ld: cannot find -lpthread /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status OS specs: [nobin@CentOS9 tc-dump]$ uname -a Linux…