java.lang.UnsatisfiedLinkError: could not locate stub library in jar file. Tried [jni/x86_64-Linux/libjffi-१.२.so, /jni/x86_64-Linux/libjffi-१.२.so]

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    logstash error while starting -- LoadError: Could not load FFI Provider:

    Stack Overflow | 5 months ago | Mupparthy Ravindranath
    java.lang.UnsatisfiedLinkError: could not locate stub library in jar file. Tried [jni/x86_64-Linux/libjffi-१.२.so, /jni/x86_64-Linux/libjffi-१.२.so]

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      could not locate stub library in jar file. Tried [jni/x86_64-Linux/libjffi-१.२.so, /jni/x86_64-Linux/libjffi-१.२.so]

      at com.kenai.jffi.internal.StubLoader.getStubLibraryStream()
    2. JRuby Main Maven Artifact
      StubLoader.<clinit>
      1. com.kenai.jffi.internal.StubLoader.getStubLibraryStream(StubLoader.java:396)
      2. com.kenai.jffi.internal.StubLoader.loadFromJar(StubLoader.java:345)
      3. com.kenai.jffi.internal.StubLoader.load(StubLoader.java:254)
      4. com.kenai.jffi.internal.StubLoader.<clinit>(StubLoader.java:434)
      4 frames
    3. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:348)
      2 frames
    4. JRuby Main Maven Artifact
      Platform.isSupported
      1. com.kenai.jffi.Init.load(Init.java:68)
      2. com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49)
      3. com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45)
      4. com.kenai.jffi.Foreign.getInstance(Foreign.java:103)
      5. com.kenai.jffi.Platform.isSupported(Platform.java:370)
      5 frames