java.lang.UnsatisfiedLinkError: /home/tw/test/ /home/tw/test/ undefined symbol: __5ShapeRCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0

Oracle Community | 807553 | 2 decades ago
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

    JNI call to Native c++ functions ( I have read the Sun tutorial )

    Oracle Community | 2 decades ago | 807553
    java.lang.UnsatisfiedLinkError: /home/tw/test/ /home/tw/test/ undefined symbol: __5ShapeRCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0
  2. 0
    samebug tip
    This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.
  3. 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:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using proguard, check if you correctly configured it, otherwise, just disable proguard. More on this here:
  6. 0

    Compiling C++ classes on Linux

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

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

    /home/tw/test/ /home/tw/test/ undefined symbol: __5ShapeRCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(
    3. java.lang.ClassLoader.loadLibrary(
    4. java.lang.Runtime.loadLibrary0(
    5. java.lang.System.loadLibrary(
    5 frames
  3. test
    1. test.NativeDemo.<clinit>(
    1 frame