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

Error: /lib64/libc.so.6: version `GLIBC_x' not found #285

Open
SidiBecker opened this issue Jan 31, 2025 · 3 comments
Open

Error: /lib64/libc.so.6: version `GLIBC_x' not found #285

SidiBecker opened this issue Jan 31, 2025 · 3 comments

Comments

@SidiBecker
Copy link

After succefully build, when I try to start my native application (at GCP Cloud Run), it fails with:

./application: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./application)
./application: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./application)
./application: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./application)

I`m building with the command:

mvn clean package  -Pnative -Dquarkus.container.image-build=true -Dquarkus.native.container-build=true

Same code from yesterday when was working.
Already run docker builder prune

Java version: 21.0.6+7-LTS
Mandrel-23.1.6.0-Final
Quarkus version: 3.8.6

/cc
quarkusio/quarkus#46007

@dcdh
Copy link

dcdh commented Jan 31, 2025

Got it too. As a quick fix, need to specify a previous image to make the application working.

quarkus:
  native:
    builder-image: quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21@sha256:f74137a6274ddee19ae595202bcfa06008876826549d4f72d6589d8233c55625

@cescoffier
Copy link
Member

It's due to the bump to UBI 9 - investigating...

@cescoffier
Copy link
Member

So, it only works if the base runtime image uses UBI9.

I'm going to roll back the bump to UBI 9 for builder images.

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

3 participants