Closed nkiesel closed 1 year ago
What is the actual question?
The question is: what do I have to do to avoid the "UnsatisfiedLinkError" related to "com/sun/jna/darwin-aarch64/libjnidispatch.jnilib"? Am I missing some steps or configuration options, or is this simply currently expected to fail on MacOS with ARM64?
or is this simply currently expected to fail on MacOS with ARM64?
We do not have specific support for linking with libjnidispatch.jnilib in native-image right now.
But could it be that you are just missing the right resource configuration to ensure that com/sun/jna/darwin-aarch64/libjnidispatch.jnilib
is available at image runtime? Running your application on the JVM with the native-image-agent might be able to produce such a configuration file for you. See https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/AutomaticMetadataCollection.md
Since this issue is not about native-build-tools but about image building in general I'm closing this issue here. If you need further support please open a ticket at https://github.com/oracle/graal/issues
Describe the problem I am trying to use GraalVM-17 together with Kotlin 1.9.10 for MAC_OS on aarch64. Both the direct invocation of nativeCompile and the usage of the plugin result in the following error:
The JAR file from which the image is built does contain the native library:
Additional context Add any other context about the problem here.
System Info (please complete the following information):
MacOS
17.0.8+9.1
17
native-gradle-plugin:0.9.27