-
Notifications
You must be signed in to change notification settings - Fork 17.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools/cmd/getgo: Unable to run one line installer in WSL #21533
Comments
This looks more like a WSL issue(?) It's not clear to me what are you asking us to do. It's already documented that, on Windows, only
are supported. |
I understand it is currently not supported. I was asked to write this report by @spf13. I suppose the error refers to the go_installer binary being a i386 file:
As per the issue link in the above report, WSL only supports 64-bit. So in theory, if this could be compiled as a 64-bit binary it would most likely work. I understand however that the root issue should be fixed in WSL and I'm looking forward to it. Thanks. |
thanks @zeldinha for this information. You've helped a lot and we definitely would like to support WSL. |
Dope I'm getting a surface in a week and can fix it ;)
…On Wed, Aug 23, 2017 at 2:17 PM, Steve Francia ***@***.***> wrote:
thanks @zeldinha <https://github.com/zeldinha> for this information.
You've helped a lot and we definitely would like to support WSL.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#21533 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABYNbMtDrR_xfnW32iFvCKnnlcZjQRPwks5sbGzRgaJpZM4O8Rod>
.
--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu <http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3>
|
The currently available GNU/Linux distros capable of installation in WSL have an /etc/profile.d directory. I installed WSL (under Win10 AU) in March, ran a few tests of the compiler toolchain, and uninstalled it. I then manually cleaned out some left over files from the WSL installation. |
Closing - |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.8.3 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?WSL (Ubuntu for Windows 10):
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
Running the suggested one liner installer on my WSL environment:
curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && ./go_installer && rm go_installer
What did you expect to see?
Go successfully installed :)
What did you see instead?
This error pops up:
bash: ./go_installer: cannot execute binary file: Exec format error
Note:
After Googling a bit, it could be due to WSL only supporting 64-bit binaries, not 32-bit. See the following issue:
microsoft/WSL#390
Note 2:
Installing manually the current 64-bit version tar file (go1.8.3.linux-amd64.tar.gz) worked just fine.
Thanks! :)
The text was updated successfully, but these errors were encountered: