java.lang.UnsatisfiedLinkError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 63#241217087
    via GitHub by Michael-Frank
    ,
  • Spark 常见错误 | 云腾泛舟-技术博客
    via by Unknown author,
  • version `GLIBC_2.14' not found
    via GitHub by liar666
    ,
  • Sikuli automation in ubuntu
    via Stack Overflow by Sush
    ,
    • java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.2-6ef04ce3-540b-4cba-ac30-16e113f48e19-libsnappyjava.so: /tmp/snappy-1.1.2-6ef04ce3-540b-4cba-ac30-16e113f48e19-libsnappyjava.so: cannot open shared object file: No such file or directory (Possible cause: endianness mismatch) at org.apache.spark.io.SnappyCompressionCodec$.liftedTree1$1(CompressionCodec.scala:171) at org.apache.spark.io.SnappyCompressionCodec$.org$apache$spark$io$SnappyCompressionCodec$$version$lzycompute(CompressionCodec.scala:168) at org.apache.spark.io.SnappyCompressionCodec$.org$apache$spark$io$SnappyCompressionCodec$$version(CompressionCodec.scala:168) at org.apache.spark.io.SnappyCompressionCodec.<init>(CompressionCodec.scala:152) Caused by: java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.2-6ef04ce3-540b-4cba-ac30-16e113f48e19-libsnappyjava.so: /tmp/snappy-1.1.2-6ef04ce3-540b-4cba-ac30-16e113f48e19-libsnappyjava.so: cannot open shared object file: No such file or directory (Possible cause: endianness mismatch) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at org.xerial.snappy.SnappyLoader.loadNativeLibrary(SnappyLoader.java:174) at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:152) at org.xerial.snappy.Snappy.<init>(Snappy.java:46)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    82 more bugmates