Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. System.load() has thrown an UnsatisfiedLinkError
    Java Runtime
    127
    305
    121
  2. JNI unable to load native library
    Java Runtime
    361
    584
    321

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.UnsatisfiedLinkError: app\build\intermediates\cmake\debug\obj\x86_64\liblib.so: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
    at java.lang.Runtime.load0(Runtime.java:809)
1 frame hidden

Solution

Nwabunnia10 months ago

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Compile a 64-bit version of your .dylib file.

External results for this pattern (10)

  1. Andrea Iannuccivia Sonatype JIRA9 hours ago
    /tmp/jna-3506402/jna1014612305258006560.tmp: /tmp/jna-3506402/jna1014612305258006560.tmp: failed to map segment from shared object: Operation not permitted
    Show stack trace
  2. eriksonssilvavia GitHub16 hours ago
    C:\Users\ **User\AppData\Local\Temp\1538133067545-jSerialComm.dll: *Accesso negato*
    Show stack trace
  3. milikicnvia GitHub3 days ago
    /private/var/folders/p5/fq4hp8m11js2p0cvkn0kpwgw0000gn/T/libJOCLBlast_1_3_0-apple-x86_64.dylib: dlopen(/private/var/folders/p5/fq4hp8m11js2p0cvkn0kpwgw0000gn/T/libJOCLBlast_1_3_0-apple-x86_64.dylib, 1): Library not loaded: /usr/local/opt/clblast/lib/libclblast.dylib Referenced from: /private/var/folders/p5/fq4hp8m11js2p0cvkn0kpwgw0000gn/T/libJOCLBlast_1_3_0-apple-x86_64.dylib Reason: image not found
    Show stack trace
  4. sjsyvia GitHub3 days ago
    no jniopenblas in java.library.path
    Show stack trace
  5. karakumvia GitHub3 days ago
    /tmp/libNRJavaSerial_root_0/libNRJavaSerial.so: /tmp/libNRJavaSerial_root_0/libNRJavaSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)
    Show stack trace
  6. gypsysunnyvia GitHub6 days ago
    /tmp/libxgboost4j7685087432198312716.so: libgomp.so.1: cannot open shared object file: No such file or directory
    Show stack trace
  7. yxzfvia GitHub6 days ago
    /data8/hadoop/yarn/nm-local-dir/usercache/hadoop-pay-dev/appcache/application_1468926081807_765036/container_1468926081807_765036_01_000003/tmp/libxgboost4j4481460359283600466.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /data8/hadoop/yarn/nm-local-dir/usercache/hadoop-pay-dev/appcache/application_1468926081807_765036/container_1468926081807_765036_01_000003/tmp/libxgboost4j4481460359283600466.so)
    Show stack trace
  8. jkawamotovia GitHub6 days ago
    /tmp/.mount_Goobox7MTPMb/resources/app/goobox-sync-storj/libstorj-java.so: libgcrypt.so.11: cannot open shared object file: No such file or directory
    Show stack trace
  9. jviewvia GitHub6 days ago
    C:\Users\chenjh\AppData\Local\Temp\JCublas2-0.8.0-windows-x86_64.dll: Can't find dependent libraries
    Show stack trace
  10. odidevvia GitHub1 week ago
    /tmp/jna-3506402/jna1009797097459244164.tmp: Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /tmp/jna-3506402/jna1009797097459244164.tmp)
    Show stack trace