/tmp/jna--1985354563/jna8964183078405864074.tmp: /tmp/jna--1985354563/jna8964183078405864074.tmp: failed to map segment from shared object: Operation not permitted

Samebug tips1

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.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.UnsatisfiedLinkError: /tmp/jna--1985354563/jna8964183078405864074.tmp: /tmp/jna--1985354563/jna8964183078405864074.tmp: failed to map segment from shared object: Operation not permitted at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1( at java.lang.ClassLoader.loadLibrary0( at java.lang.ClassLoader.loadLibrary( at java.lang.Runtime.load0( at java.lang.System.load( at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath( at com.sun.jna.Native.loadNativeDispatchLibrary( at com.sun.jna.Native.<clinit>( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at org.elasticsearch.bootstrap.Natives.<clinit>( at org.elasticsearch.bootstrap.Bootstrap.initializeNatives( at org.elasticsearch.bootstrap.Bootstrap.setup( at org.elasticsearch.bootstrap.Bootstrap.init( at org.elasticsearch.bootstrap.Elasticsearch.main(

Write tip

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

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
franky lifranky li
134 times, last one
83 more bugmates