I put in go 1.22.6 from archive for linux_amd64, unzipped, added go to PATH and re-ran the ~/.bashrc.
Then I additionally copied the identical model into /choose/go1.22 for operating make.bash by setting GOROOT_BOOTSTRAP to this /choose/go1.22.
And created a small hey.go program which imports “fmt” and tried to compile it utilizing
go instrument compile -o hey hey.go
However then I bought the error package deal not discovered “fmt”.
I checked for archive information in /usr/native/go/pkg/linux_amd64 however there not linux_amd64 listing in /pkg
I’m not certain why it isn’t producing.
Any insights / options would actually assist.
Thanks.
however, why you utilize go instrument as a substitute of go construct?
Hiya there, I assume this dialogue is said and may clarify that it’s the way in which it suppose to work
1 Like