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

linux build depends on glibc 2.18+ #3524

Closed
srenatus opened this issue Jun 1, 2021 · 2 comments
Closed

linux build depends on glibc 2.18+ #3524

srenatus opened this issue Jun 1, 2021 · 2 comments

Comments

@srenatus
Copy link
Contributor

srenatus commented Jun 1, 2021

Follow-up to #3499.

As it turns out, the binaries we've built with wasm enabled (starting from 0.29.0) depend on glibc, but also have a minimum requirement: 2.18. As far as I can tell, that comes in from the version of glibc present in the host system used when building the binary -- in our case, that's the golang docker image.

The problem is Centos 7 (EOL 2024, still alive for a bit), which has an older version and no easy way to upgrade.

The workaround for now would be to use the static linux binaries on Centos 7, if you can work without the embedded wasm engine. If you need the wasm engine on Centos 7, you'd have to build the binary yourself on that system. (There's no known reason what that should be impossible.)

@srenatus
Copy link
Contributor Author

srenatus commented Jun 1, 2021

👉 https://gist.github.com/wagenet/35adca1a032cec2999d47b6c40aa45b1 Centos 7 seems to be the only popular linux distribution affected by this.

@tsandall
Copy link
Member

tsandall commented Jun 4, 2021

Going forward we recommend people use the opa_linux_amd64_static executable if they need to deploy to one of these systems.

@tsandall tsandall closed this as completed Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants