java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider

GitHub | cheister | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 3409#150225537

    GitHub | 2 years ago | Slicertje
    java.lang.UnsatisfiedLinkError: /lib32/libcrypt.so.1: verkeerde ELF-klasse: ELFCLASS32
  2. 0

    Add support for musl libc

    GitHub | 1 year ago | jirutka
    java.lang.UnsatisfiedLinkError: Error loading shared library libcrypt.so: No such file or directory
  3. 0

    GitHub comment 3409#154031386

    GitHub | 2 years ago | richtmat
    java.lang.UnsatisfiedLinkError: /libx32/libcrypt.so.1: wrong ELF class: ELFCLASS32
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 3380#148988666

    GitHub | 2 years ago | mkristian
    java.lang.UnsatisfiedLinkError: /lib/i386-linux-gnu/libcrypt.so.1: wrong ELF class: ELFCLASS32
  6. 0

    GitHub comment 3409#150499165

    GitHub | 2 years ago | akkie
    java.lang.UnsatisfiedLinkError: /lib32/libcrypt.so.1: falsche ELF-Klasse: ELFCLASS32
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.ClassNotFoundException

    com.kenai.jffi.Type

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. JRuby Main Maven Artifact
    Provider.<init>
    1. jnr.ffi.provider.jffi.NativeRuntime.jafflType(NativeRuntime.java:193)
    2. jnr.ffi.provider.jffi.NativeRuntime.buildTypeMap(NativeRuntime.java:76)
    3. jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:57)
    4. jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:41)
    5. jnr.ffi.provider.jffi.NativeRuntime$SingletonHolder.<clinit>(NativeRuntime.java:53)
    6. jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49)
    7. jnr.ffi.provider.jffi.Provider.<init>(Provider.java:29)
    7 frames
  4. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    5. java.lang.Class.newInstance(Class.java:442)
    5 frames
  5. JRuby Main Maven Artifact
    Main.main
    1. jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:68)
    2. jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.<clinit>(FFIProvider.java:57)
    3. jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35)
    4. jnr.ffi.Library.loadLibrary(Library.java:114)
    5. jnr.posix.POSIXFactory$DefaultLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:279)
    6. jnr.posix.POSIXFactory$DefaultLibCProvider.getLibC(POSIXFactory.java:283)
    7. jnr.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:37)
    8. jnr.posix.LinuxPOSIX.<init>(LinuxPOSIX.java:18)
    9. jnr.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:143)
    10. jnr.posix.POSIXFactory.loadNativePOSIX(POSIXFactory.java:121)
    11. jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:90)
    12. jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:36)
    13. jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:32)
    14. jnr.posix.LazyPOSIX.isNative(LazyPOSIX.java:378)
    15. org.jruby.RubyGlobal.prepareStdioChannel(RubyGlobal.java:295)
    16. org.jruby.RubyGlobal.initSTDIO(RubyGlobal.java:272)
    17. org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:199)
    18. org.jruby.Ruby.init(Ruby.java:1190)
    19. org.jruby.Ruby.newInstance(Ruby.java:334)
    20. org.jruby.Main.internalRun(Main.java:271)
    21. org.jruby.Main.run(Main.java:232)
    22. org.jruby.Main.main(Main.java:204)
    22 frames