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
If System.mapLibraryName(libName) returns a .dylib filename then we replace it to .jnilib and returns. It looks like a bug, why we change the native lib extension to different if it supported by the runtime system and was returned by it. It works when I specify java.library.path with the .dylib lib.
The text was updated successfully, but these errors were encountered:
I suppose we could change the Library.map method so that it returns a String[] and iterate on this array in the Library.doLoad method. @Tolsi Would you mind creating a PR for that ?
Hi, I can't load the dylib native dependency packed in jar package because of this line
hawtjni/hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java
Line 360 in c14fec0
If
System.mapLibraryName(libName)
returns a.dylib
filename then we replace it to.jnilib
and returns. It looks like a bug, why we change the native lib extension to different if it supported by the runtime system and was returned by it. It works when I specifyjava.library.path
with the.dylib
lib.The text was updated successfully, but these errors were encountered: