-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
native image fails to start due to missing libfreetype.so.6 library #21729
Comments
/cc @geoand |
cc @cescoffier |
The runtime image does not provide libfreetype.so.6 by default (to save space). Do you know which part of your app needs it? |
No, I have no idea where it is used. The app is more or less a simple CRUD-Application. It must be somewhere in the dependencies changed from quarkus 2.4.2.Final to 2.5.0.Final. |
Comparing the dependencies, I see that the quarkus-liquibase has now a dependency to quarkus-awt, which was not before.
|
Yes, that's probably it. We should document that. |
its unfortunate if we now require bundling of those files if not actually needed :/ |
@Karm is working on improving it. |
I presume any quarkus native app which relies on the liquibase extension is not going to run under Quarkus 2.5.x until this issue is fixed? Is there a workaround in the meantime? |
Workaround is build your own base image with needed libs. Actually is what we do in our company. |
@wabrit @vladimirfx The fix in #20850 is pretty close to getting merged now 👍 |
@wabrit @vladimirfx Fixed version is up and about: https://mvnrepository.com/artifact/io.quarkus/quarkus-core/2.6.0.CR1 |
Thanks, I will check today |
Checked on 2.6.0.CR1 - works fine. |
I checked it out on 2.6.0.CR1 too. Works greate. |
Describe the bug
Running a quarkus native application (2.5.0.Final) fails with following error at startup:
With 2.4.2.Final it was working correctly
Expected behavior
The application should just start.
Actual behavior
The application can not start.
In the application.properties we have following settings for the native build:
as build image we use
quay.io/quarkus/ubi-quarkus-native-image:21.3-java17
and the build.gradle has following dependendies:
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
Java 17.0.1
GraalVM version (if different from Java)
quay.io/quarkus/ubi-quarkus-native-image:21.3-java17
Quarkus version or git rev
2.5.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.3
Additional information
No response
The text was updated successfully, but these errors were encountered: