I recently installed lubuntu 11.04 on my pc. Following this guide on installing go from source, installing golang on my pc went well. To test my installation, I ran hello.go and got this error:
fork/exec /tmp/go-build748212890/command-line-arguments/_obj/a.out: exec format error
I looked it up on google, and one of the more relevant results that I found said to remove the package, then reinstall again. That did not help.
Can you tell me what is causing this error, and how I can fix this?
Thanks, and have a nice day!
go run
? – Morganitego env
andenv | grep GO
and maybe auname -a
– Rheotaxis