Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quarkus: native container missing GLIBC_2.32

I just started a new Quarkus (v2.1) project, created with the integrated generator in IntelliJ. The project is pretty much empty but i can't get the native docker container working. Doesn't matter if I build it with GraalVM on the host or inside another container I always get this error if I try to run the container:

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

My environment: Pop!_OS 21.04, GraalVM 21.2.0, Docker 20.10.7

like image 944
tobiso Avatar asked Sep 04 '25 16:09

tobiso


1 Answers

You can use -Dquarkus.native.container-build=true in order to make Quarkus use a container when creating the native binary, instead of relying on a local GraalVM installation

like image 143
geoand Avatar answered Sep 07 '25 17:09

geoand