-
Notifications
You must be signed in to change notification settings - Fork 213
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
Build on ubuntu 20.04 #814
Conversation
* building on ubuntu:22.04 produces binaries which require too recent glibc version (2.32+) and that means the binary no longer works on older ubuntu versions, like 20.04 and 18.04. * building on ubuntu:20.04 fixes the problem and the binary again works on ubuntu 18.04 and 20.04 * also bumped the version in the release workflow which got forgotten
09ee153
to
8a47d68
Compare
Hmm, so this moves the glibc version requirement to 2.17, which is better than the current state, but still not quite on par with 2.12.
|
Reading through #730, it says
which is not really the case (anymore?). We bumped the build system and as a side-effect glibc version got bumped as well. GraalVM got updated from 22.2.0 to 22.3.1 in the meantime, in case that could be somehow related. |
I wasn't able to make this work so that the glibc requirement would still be 2.12 (released on 2010-12-13). I tried to follow a similar approach with There is a library (not even sure which one to be honest) which is using
I double-checked and CentOS 6 is indeed using glibc 2.12, but it is also end-of-life for more than two years now (https://wiki.centos.org/HowTos/EOL). Maybe it would make sense to bump the glibc version anyway and support 2.17, which is the one used in CentOS 7? I think it would still make sense to merge this PR, as it makes things slightly better:
|
* building on ubuntu:22.04 produces binaries which require too recent glibc version (2.32+) and that means the binary no longer works on older ubuntu versions, like 20.04 and 18.04. * building on ubuntu:20.04 fixes the problem and the binary again works on ubuntu 18.04 and 20.04 * also bumped the version in the release workflow which got forgotten
fixes Linux native binary no longer works on ubuntu 18.04 and ubuntu 20.04 (and likely any linux with glibc < 2.34) #812
building on ubuntu:22.04 produces binaries which require too recent glibc
version (2.32+) and that means the binary no longer works on
older ubuntu versions, like 20.04 and 18.04.
building on ubuntu:20.04 fixes the problem and the binary again works
on ubuntu 18.04 and 20.04
also bumped the version in the release workflow which got forgotten