Hi! On 03/19/2016 04:27 PM, Cornelius Schumacher wrote:
After installing go from devel:languages:go on Leap, I get an error message that the GOROOT path point to a non-existing directory /usr/lib64/go, when trying to run go (e.g. `go version`). It turns out that it installed the 32 bit version. After manually setting the GOROOT path to /use/lib/go the compiler works.
Has anyone else seen this issue? Where is the GOROOT variable set?
I just installed go on a fresh leap virtual machine, and then added the devel:languages:go repo and run "zypper install go", which updated go to 1.6, and everything worked fine for me. Are you able to reproduce that behaviour again? What am I missing?
It seems the problem can be solved by removing the package and installing it again. It installs the 64 bit version then.
It is confusing behavior, and I'm a bit lost what actually happened there, as I was mostly doing the most simple thing you can do to get a newer go version on Leap. Is somebody able to shed some light on this?