-
Notifications
You must be signed in to change notification settings - Fork 68
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.32' and
GLIBC_2.34' not found error in AlmaLinux OS 8 and CentOS Stream 8.
#280
Comments
Yes this changed with #272. In order to support multiple glibc versions, we are now dynamically linking against it. That means that the distribution requires having glibc installed. There's no good way to support multiple glibc versions and static link to it. We had to choose one or the other. |
Hello @ChadKillingsworth , |
Here's the GRAAL documentation on dynamically linked GLIBC: https://www.graalvm.org/22.2/reference-manual/native-image/guides/build-static-executables/#frequently-asked-questions There's very little control. |
Sure, you have - at least - some sort of control. |
I'm open to switching the build image. My only concern is at some point this will have to change. I'm wanting to target the largest possible number of users without creating a large maintenance burden. |
By the way, because the root cause of #272 was the same as #280 that building image has been swithced from ubuntu-20.04 (former latest) to ubuntu-22.04 (current latest), it is also possible to go back to the static build as it was in 20221102.0.1. |
Linux binary built in this pipeline https://github.com/google/closure-compiler-npm/actions/runs/3952305234 works perfectly! |
We publish a nightly version, so you don't technically have to wait for a major release: I may go back and revisit static linking with this info. It's definitely preferred. |
From
20230103.0.0
google-closure-compiler-linux fails with the following error on AlmaLInux OS 8 as well as CentOS Stream 8 (aka RHEL8 platforms).It does not happen with
20221102.0.1
. Note that RHEL8 uses glibc-2.28.Following is the Dockerfile to reproduce.
Following is the output with
20221102.0.1
without any errors.Possibly related to #272 ?
The text was updated successfully, but these errors were encountered: