-
-
Notifications
You must be signed in to change notification settings - Fork 0
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 build does not link libzstd-jni correctly #24
Milestone
Comments
Added |
Using this would seem to make the native-image build platform specific. |
Still an issue $ ./target/dsh-bio-native compress-bed \
-i GIAB_SmallVariant_Benchmark_v4beta_GRCh37_HG002.bed.gz \
-o GIAB_SmallVariant_Benchmark_v4beta_GRCh37_HG002.bed.zst
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Method.java:566)
at org.dishevelled.bio.tools.Tools.call(Tools.java:79)
at org.dishevelled.bio.tools.Tools.main(Tools.java:294)
Caused by: java.lang.UnsatisfiedLinkError: no zstd-jni-1.5.0-4 in java.library.path
Unsupported OS/arch, cannot find /darwin/amd64/libzstd-jni-1.5.0-4.dylib or load zstd-jni-1.5.0-4 from system libraries. Please try building from source the jar or providing libzstd-jni-1.5.0-4 in your system.
at com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibraryRelative(NativeLibrarySupport.java:132)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:197)
at java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.lang.System.loadLibrary(System.java:1871)
at com.github.luben.zstd.util.Native.load(Native.java:87)
at com.github.luben.zstd.util.Native.load(Native.java:55)
at com.github.luben.zstd.ZstdOutputStreamNoFinalizer.<clinit>(ZstdOutputStreamNoFinalizer.java:18)
at com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:375)
at com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:295)
at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:73)
at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:53)
at org.apache.commons.compress.compressors.zstandard.ZstdCompressorOutputStream.<init>(ZstdCompressorOutputStream.java:86)
at org.dishevelled.compress.Writers.writer(Writers.java:155)
at org.dishevelled.compress.Writers.writer(Writers.java:134)
at org.dishevelled.bio.tools.CompressBed.call(CompressBed.java:77)
at org.dishevelled.bio.tools.CompressBed.main(CompressBed.java:140)
... 3 more |
Note upstream issue was closed as fixed, try again with updated metadata? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: