Compile: go version does not match go tool version #1116
-
*Problems with the new version of go ─(root💀kali)-[/home/kali] ┌──(root💀kali)-[/home/kali] internal/unsafeheadercompile: version "go1.16.3" does not match go tool version "go1.16.8" runtime/internal/atomiccompile: version "go1.16.3" does not match go tool version "go1.16.8" internal/cpucompile: version "go1.16.3" does not match go tool version "go1.16.8" runtime/internal/syscompile: version "go1.16.3" does not match go tool version "go1.16.8" math/bitscompile: version "go1.16.3" does not match go tool version "go1.16.8" unicode/utf8compile: version "go1.16.3" does not match go tool version "go1.16.8" internal/racecompile: version "go1.16.3" does not match go tool version "go1.16.8" sync/atomiccompile: version "go1.16.3" does not match go tool version "go1.16.8" unicodecompile: version "go1.16.3" does not match go tool version "go1.16.8" encodingcompile: version "go1.16.3" does not match go tool version "go1.16.8" unicode/utf16compile: version "go1.16.3" does not match go tool version "go1.16.8" crypto/subtlecompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/projectdiscovery/gologger/levelscompile: version "go1.16.3" does not match go tool version "go1.16.8" container/listcompile: version "go1.16.3" does not match go tool version "go1.16.8" crypto/internal/subtlecompile: version "go1.16.3" does not match go tool version "go1.16.8" vendor/golang.org/x/crypto/cryptobyte/asn1compile: version "go1.16.3" does not match go tool version "go1.16.8" internal/nettracecompile: version "go1.16.3" does not match go tool version "go1.16.8" vendor/golang.org/x/crypto/internal/subtlecompile: version "go1.16.3" does not match go tool version "go1.16.8" golang.org/x/sys/internal/unsafeheadercompile: version "go1.16.3" does not match go tool version "go1.16.8" golang.org/x/net/html/atomcompile: version "go1.16.3" does not match go tool version "go1.16.8" golang.org/x/text/encoding/internal/identifiercompile: version "go1.16.3" does not match go tool version "go1.16.8" golang.org/x/text/internal/utf8internalcompile: version "go1.16.3" does not match go tool version "go1.16.8" golang.org/x/net/internal/ianacompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/go-rod/rod/lib/assetscompile: version "go1.16.3" does not match go tool version "go1.16.8" image/colorcompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/go-rod/rod/lib/jscompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/go-rod/rod/lib/launcher/flagscompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/ysmood/leakless/pkg/sharedcompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/tostringcompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/dsnet/compress/bzip2/internal/saiscompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/dsnet/compress/internalcompile: version "go1.16.3" does not match go tool version "go1.16.8" github.com/ulikunitz/xz/internal/hashcompile: version "go1.16.3" does not match go tool version "go1.16.8" runtime/cgocompile: version "go1.16.3" does not match go tool version "go1.16.8" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
What version need to use |
Beta Was this translation helpful? Give feedback.
-
Hello @kkk-alt We are using |
Beta Was this translation helpful? Give feedback.
Hello @kkk-alt
We are using
go 1.17
. The problem you face might be because yourgo
command and yourGOROOT
environmental variable point to different versions ofgo
.