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

'GLIBC_2.14' not found (required by ./elvish) #377

Closed
kybin opened this issue Jul 4, 2017 · 4 comments
Closed

'GLIBC_2.14' not found (required by ./elvish) #377

kybin opened this issue Jul 4, 2017 · 4 comments
Labels

Comments

@kybin
Copy link
Contributor

kybin commented Jul 4, 2017

Hello, thank you for doing this.

I test this on CentOS 6 and meet this error.

I saw elvish claims that it has no dynamic dependency.

Does this error expected?

@xiaq
Copy link
Member

xiaq commented Jul 5, 2017

Aha, OK. Since we use cgo, the binary does depend on whatever libc was present when the binary was built. And I suppose our building environment has glibc 2.14, while your OS has an older version.

We can either link statically with musl or get rid of cgo dependencies.

@xiaq xiaq added the bug label Jul 5, 2017
@kybin
Copy link
Contributor Author

kybin commented Jul 6, 2017

I prefer remove cgo dependencies, but either way seems fine!

@xiaq
Copy link
Member

xiaq commented Jul 20, 2017

The prebuilt binaries are now built with CGO disabled. Can you verify whether https://dl.elvish.io/elvish-linux.tar.gz works for you now?

@kybin
Copy link
Contributor Author

kybin commented Sep 19, 2017

Sorry, I could not check this because I upgraded to CentOS7.

If anyone confirmed this, please reply here.

@xiaq xiaq closed this as completed Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants