java.lang.UnsatisfiedLinkError: /Users/XXX/example/libjnidb4java.a: dlopen(/Users/XXX/example/libjnidb4java.a, 1): no suitable image found. Did find: /Users/XXX/example/libjnidb4java.a: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A

Stack Overflow | MrROY | 12 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.
  2. 0

    JNI with static library: unsatisfied link error

    Stack Overflow | 12 months ago | MrROY
    java.lang.UnsatisfiedLinkError: /Users/XXX/example/libjnidb4java.a: dlopen(/Users/XXX/example/libjnidb4java.a, 1): no suitable image found. Did find: /Users/XXX/example/libjnidb4java.a: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JavaFx Application Thread Exception, UnsatisfiedLinkError

    Stack Overflow | 2 years ago
    java.lang.UnsatisfiedLinkError: /opt/jdk1.8.0_45/jre/lib/amd64/libjfxwebkit.so: libxslt.so.1: cannot open shared object file: No such file or directory
  5. 0

    GitHub comment 5#126669453

    GitHub | 2 years ago | randomstuff
    java.lang.UnsatisfiedLinkError: /private/var/folders/w0/nn_htp7n6ddcydvkv21hjzhc0000gn/T/simgrid-java-3789259524132996711.tmp: dlopen(/private/var/folders/w0/nn_htp7n6ddcydvkv21hjzhc0000gn/T/simgrid-java-3789259524132996711.tmp, 1): Library not loaded: /Users/ci/simgrid/build/lib/libsimgrid.3.12.dylib Referenced from: /private/var/folders/w0/nn_htp7n6ddcydvkv21hjzhc0000gn/T/simgrid-java-3789259524132996711.tmp Reason: image not found

  1. franky li 8 times, last 6 months ago
  2. Lukasmcd14 1 times, last 8 months ago
  3. Christopher 4 times, last 11 months ago
  4. xgao 1 times, last 1 year ago
43 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    /Users/XXX/example/libjnidb4java.a: dlopen(/Users/XXX/example/libjnidb4java.a, 1): no suitable image found. Did find: /Users/XXX/example/libjnidb4java.a: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.load
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
    4. java.lang.Runtime.load0(Runtime.java:809)
    5. java.lang.System.load(System.java:1086)
    5 frames