gvm icon indicating copy to clipboard operation
gvm copied to clipboard

Apple M1 Macbook Pro install: "bad CPU type in executable: go"

Open trmiller opened this issue 3 years ago • 5 comments

Following the installation instructions, in addition to the go1.5 section on the README:

I am getting the following error when running anything with the binary installed go1.4, including go version or gvm install go1.5:

zsh: bad CPU type in executable: go

I have installed rosetta with softwareupdate --install-rosetta

and which go points to the go1.4 version under GVM

Any suggestions?

trmiller avatar Oct 04 '22 16:10 trmiller

The same here. Don't know what to do. Gonna do manual install now.

AsadSaleh avatar Oct 09 '22 00:10 AsadSaleh

I also face the same issue.

devravi avatar Oct 21 '22 11:10 devravi

Hi, it might be due to the fact that it is installing the x86 binaries. Check #406 or #385 for more.

koioannis avatar Oct 24 '22 22:10 koioannis

@koioannis Thanks, It helped from both issues to setup it up on the M1 chip device.

devravi avatar Nov 16 '22 10:11 devravi

@trmiller @koioannis @devravi @AsadSaleh kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv

ankitcharolia avatar Aug 05 '23 15:08 ankitcharolia