I'd check a few things,

1. Uninstall any version of Go provided by your is, if it's Ubuntu, the package 
will be called golang-go.
2. Unset every environment variable save GOPATH. If you are following the 
installations from golang.org, you never need to set GOROOT.
3. Delete /usr/local/go and unpack a fresh tarball. The error you reported is 
usually caused by unpacking one version of go over another. 

If none of this helps please reply with the output of

which go
go env
go version

And the full output, including the commands you entered, and it should be 
pretty easy to figure it out from there.

Dave

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to