Michel Palourdio

Results 54 comments of Michel Palourdio

Maybe out of topic, but I have thought of working around this by trying to go away from *mostly static image* by adding : `--static --libc=musl` as I do it...

> @dmikusa any way you could take a look how this can be fixed? Copying any additional *.so files may be the easiest way Yes, that's an easy way to...

@dmikusa Hi, I hate being that guy, but is there an opportunity that this could be looked at ?

Many thanks for giving this a try. I have changed my maven configuration like this, as I understand the `spring-boot-maven-plugin` [documentation](https://docs.spring.io/spring-boot/maven-plugin/build-image.html#build-image.customization) ```xml org.springframework.boot spring-boot-maven-plugin dmikusa/paketo-native-image:latest true build-image-no-fork ``` I can...

Oops ! Sorry for confusion. I have tried your maven configuration, here is the error during the maven build process ```INFO] --- spring-boot:3.3.1:build-image-no-fork (default) @ flhacker --- [INFO] Building image...

So this still fails for me with `Caused by: java.lang.UnsatisfiedLinkError: No awt in java.library.path at org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibraryRelative(NativeLibrarySupport.java:136)` But : - I see that the native image options enforce `+StaticExecutableWithDynamicLibC`. Which has...

@oubidar-Abderrahim Sure, clone [this repo](https://github.com/mpalourdio/flhacker/tree/musl), and checkout the `musl` branch. I use GraalVM CE 21 Once compiled, the native executable does not 'embed'/link the .so, and it fails at runtime...

A bit more of context, after installing `Liberica-NIK-23.1.3-1 (build 21.0.3+10-LTS)` from sdkman - `-H:+StaticExecutableWithDynamicLibC` works with Liberica, not with graalvm CE - `musl` fails with both.

I can build too! But can you run it without any error with missing awt for example?

Here is my version ``` $ x86_64-linux-musl-gcc --version x86_64-linux-musl-gcc (GCC) 10.2.1 20210227 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There...