java.lang.UnsatisfiedLinkError: [path to my library]: ld.so.1: /usr/java/bin/../bin/sparc/native_threads/java: fatal: [path to my library]: wrong ELF class: ELFCLASS64

Oracle Community | 843797 | 1 decade ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Caused by fail to load the necessary libraries. Try to reinstall the app.
  2. 0
    samebug tip
    Check if you have the latest version of SQLCipher and look if you loaded the libraries correctly. More info on this comment: https://goo.gl/tQQ5NO
  3. 0
    samebug tip
    If you're using proguard, check if you correctly configured it, otherwise, just disable proguard. More on this here: https://goo.gl/FP500o
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    wrong ELF class: ELFCLASS64?

    Oracle Community | 1 decade ago | 843797
    java.lang.UnsatisfiedLinkError: [path to my library]: ld.so.1: /usr/java/bin/../bin/sparc/native_threads/java: fatal: [path to my library]: wrong ELF class: ELFCLASS64
  6. 0

    Compiling C++ classes on Linux

    Oracle Community | 2 decades ago | 843829
    java.lang.UnsatisfiedLinkError: /a/fs-01/grad/amigo/Compilers/Ex3/libtoken.so: /a/fs-01/grad/amigo/Compilers/Ex3/libtoken.so: undefin ed symbol: main

  1. iferca 1 times, last 2 months ago
  2. filpgame 1 times, last 3 months ago
  3. Adrien 6 times, last 3 months ago
  4. PKeidel 9 times, last 3 months ago
  5. rafael 3 times, last 2 months ago
32 more registered users
63 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

    [path to my library]: ld.so.1: /usr/java/bin/../bin/sparc/native_threads/java: fatal: [path to my library]: wrong ELF class: ELFCLASS64

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.loadLibrary
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
    4. java.lang.Runtime.loadLibrary0(Runtime.java:749)
    5. java.lang.System.loadLibrary(System.java:820)
    5 frames