-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
CentOS 7 cannot execute binary file #26272
Labels
Comments
what do the following commands report;
file /usr/local/go/bin/go
ldd /usr/local/go/bin/go
…On 8 July 2018 at 23:12, Nurlan199206 ***@***.***> wrote:
Hi
i'm trying to install Go 1.10.3 on CentOS 7 from this tutorial
https://golang.org/doc/install?download=go1.10.3.
linux-amd64.tar.gz#install <http://url>
im unpacked from archive with command tar -C /usr/local -xzf
go1.10.3.linux-amd64.tar.gz
created env and project folder with commands:
***@***.*** ~]# export GOROOT=/usr/local/go
***@***.*** ~]# export GOPATH=$HOME/go/app
***@***.*** ~]# export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
OS version etc...
3.10.0-693.2.2.el7.centos.plus.i686 #1 SMP Tue Sep 26 14:45:56 UTC 2017
i686 i686 i386 GNU/Linux
after installation steps i am getting error:
***@***.*** ~]# go version
bash: /usr/local/go/bin/go: cannot execute binary file
***@***.*** ~]# go bug
bash: /usr/local/go/bin/go: cannot execute binary file
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#26272>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAcA8okeEsZqPIHjSGZ5NEtCD-HTEi0ks5uEgU4gaJpZM4VGuHe>
.
|
It seems your kernel is 32bit. But you installed 64bit executable. |
@mattn fail :) |
@Nurlan199206 - Could you kindly clarify your response ? Are you saying it is failing even after you installed the 32bit version ? |
Closing based on #26272 (comment) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
i'm trying to install Go 1.10.3 on CentOS 7 from this tutorial https://golang.org/doc/install?download=go1.10.3.linux-amd64.tar.gz#install
im unpacked from archive with command
tar -C /usr/local -xzf go1.10.3.linux-amd64.tar.gz
created env and project folder with commands:
OS version etc...
3.10.0-693.2.2.el7.centos.plus.i686 #1 SMP Tue Sep 26 14:45:56 UTC 2017 i686 i686 i386 GNU/Linux
after installation steps i am getting error:
The text was updated successfully, but these errors were encountered: