You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to use jnr/jffi with a GraalVM native image, I encounter an UnsatisfiedLinkError when loading jnr.ffi.provider.jffi.Provider. The issue does not occur when running using JVM. I use this library with https://github.com/lmdbjava/lmdbjava.
Error Message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider
at jnr.ffi.provider.InvalidProvider$1.loadLibrary(InvalidProvider.java:49)
at jnr.ffi.LibraryLoader.load(LibraryLoader.java:420)
...
Caused by: java.lang.UnsatisfiedLinkError: could not get native definition for type `POINTER`, original error message follows: null
at com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:253)
...
GraalVM Proxy and Reflection Configuration:
proxy-config:
When attempting to use
jnr/jffi
with a GraalVM native image, I encounter anUnsatisfiedLinkError
when loadingjnr.ffi.provider.jffi.Provider
. The issue does not occur when running using JVM. I use this library with https://github.com/lmdbjava/lmdbjava.Error Message:
GraalVM Proxy and Reflection Configuration:
proxy-config:
reflection-config:
Resource Configuration:
Steps to Reproduce:
jnr/jffi
.UnsatisfiedLinkError
.Expected Behavior:
jnr/jffi
should function correctly when compiled into a GraalVM native image, loading native definitions without errors.Environment:
The text was updated successfully, but these errors were encountered: