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
cmd/go: error while loading shared libraries: unexpected reloc type 0x00a04018 #18044
Comments
That error is coming from the dynamic linker, it's not coming from Go code at all. My first guess would be that your download was corrupted. |
@rajender, can you try to download it again? |
I tried downloading again and verified sha256 checksum and it seems file is not corrupted. dev:~ # wget https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz 100%[=========================================================================================================>] 82,565,628 14.8MB/s in 4.9s 2016-11-29 23:27:31 (16.2 MB/s) - ‘go1.7.3.linux-amd64.tar.gz’ saved [82565628/82565628] dev:~ # sha256sum go1.7.3.linux-amd64.tar.gz |
I tried go1.7 and go1.6.3 also. |
Tried go1.8beta1 and faced with similar error. dev:~ # rm -rf /usr/local/go |
Since this has been broken the past two releases, it's probably not acceptable for Go 1.8. But if the fix is trivial, maybe. I'll let @ianlancetaylor decide. |
If there isn't something wrong with the release you downloaded, then I suspect there is something wrong with your system. The error is coming from the system dynamic linker. The Go distribution does not include any shared libraries, so it follows that the system dynamic linker is complaining about a system shared library. It's hard to understand how this could be related to Go. Please show us the output of
|
dev:~ # LD_DEBUG=all go |
What version of glibc are you running? What does it print when you run |
Ah ha. I can recreate the problem if I set |
CL https://golang.org/cl/33872 mentions this issue. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.7.3
What operating system and processor architecture are you using (
go env
)?dev:~ # uname -a
Linux dev 3.12.28-4-default #1 SMP Thu Sep 25 17:02:34 UTC 2014 (9879bd4) x86_64 x86_64 x86_64 GNU/Linux
What did you do?
Downloaded go1.7.3 binary distribution for linux amd64 from golang.org, unzipped it to /usr/local/
and exported the path.
What did you expect to see?
dev:~ # go
Go is a tool for managing Go source code.
Usage:
go command [arguments]
....
...
What did you see instead?
dev:~ # go
go: error while loading shared libraries: unexpected reloc type 0x00a04018
The text was updated successfully, but these errors were encountered: