java.lang.UnsatisfiedLinkError

/tmp/jna--1985354563/jna2578467607555190923.tmp: /tmp/jna--1985354563/jna2578467607555190923.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.

Solutions on the web3889

  • /tmp/jna--1985354563/jna2578467607555190923.tmp: /tmp/jna--1985354563/jna2578467607555190923.tmp: failed to map segment from shared object: Operation not permitted
  • /tmp/jna--1985354563/jna306419785920339930.tmp: /tmp/jna--1985354563/jna306419785920339930.tmp: failed to map segment from shared object: Operation not permitted
  • via GitHub by Fabian1976
    , 4 months ago
    /tmp/jna--1985354563/jna3776152293556606246.tmp: /tmp/jna--1985354563/jna3776152293556606246.tmp: failed to map segment from shared object: Operation not permitted
  • Stack trace

    • java.lang.UnsatisfiedLinkError: /tmp/jna--1985354563/jna2578467607555190923.tmp: /tmp/jna--1985354563/jna2578467607555190923.tmp: failed to map segment from shared object: Operation not permitted at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1968) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1893) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:761) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736) at com.sun.jna.Native.<clinit>(Native.java:131) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:45) at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:89) at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:144) at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)

    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 user
    Once, 1 year ago
    Once, 2 weeks ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 8 months ago
    134 times, 8 months ago
    83 more bugmates