Skip to content
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

install: Can't see Go version on SUSE Linux #25440

Closed
SreekanthSF opened this issue May 17, 2018 · 8 comments
Closed

install: Can't see Go version on SUSE Linux #25440

SreekanthSF opened this issue May 17, 2018 · 8 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@SreekanthSF
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (v1.10.)?

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (SUSE Linux Enterprise Server 12 SP3)?

What did you do?

Installed Go Lang

If possible
screen shot 2018-05-17 at 6 18 20 pm
, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

What did you expect to see?

Install Go Lang

What did you see instead?

While checking version it's showing error
Error : -bash: /usr/local/go/bin/go: cannot execute binary file: Exec format error

@agnivade
Copy link
Contributor

How did you install Go ? Did you take the correct binary distribution from https://golang.org/dl/ ?

Please give output of uname -a and file /usr/local/go/bin/go.

@agnivade agnivade added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label May 17, 2018
@ianlancetaylor ianlancetaylor changed the title Can't see Go Lang version on SUSE Linux install: Can't see Go Lang version on SUSE Linux May 17, 2018
@ALTree ALTree changed the title install: Can't see Go Lang version on SUSE Linux install: Can't see Go version on SUSE Linux May 17, 2018
@agnivade
Copy link
Contributor

Which distribution did you download from https://golang.org/dl/ page ?

Please give the output from uname -a and file /usr/local/go/bin/go.

Thanks.

@SreekanthSF
Copy link
Author

SreekanthSF commented May 18, 2018

I have download GoLang from https://golang.org/dl/ .I'm following the official link https://docs.google.com/document/d/1Wm7eFA97HaXaoo98pI7t61rxmJXfKmrrJ7nIjRuo6BE/edit .. but the final step tells me i've been facing a error of "binary execution error" .
uname -a :- Linux sfhyperledger 4.4.103-94.6-default #1 SMP Tue Jan 9 12:53:49 UTC 2018 (69ac2b4) s390x s390x s390x GNU/Linux
file /usr/local/go/bin/go :- -bash: cd: /usr/local/go/bin/go: Not a directory

@agnivade
Copy link
Contributor

Your arch is s390x. You have downloaded binaries for amd64. You have to download https://dl.google.com/go/go1.10.2.linux-s390x.tar.gz.

Please follow https://golang.org/doc/install#install in future. Thanks.

@SreekanthSF
Copy link
Author

@agnivade Thanks dude

@SreekanthSF
Copy link
Author

SreekanthSF commented May 21, 2018

@agnivade When running the go build command it's getting exec: see below image
screen shot 2018-05-21 at 5 13 55 pm

@agnivade
Copy link
Contributor

This looks like an an issue with your environment rather than a bug. We do not use the issue tracker for general discussions or questions like these. Please have a look at Questions wiki page; it has a list of good places for asking questions.

@SreekanthSF
Copy link
Author

SreekanthSF commented May 21, 2018

@agnivade Thanks dude, I'm in stuck.

@golang golang locked and limited conversation to collaborators May 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants