java.lang.UnsatisfiedLinkError

failed to load the required native library

Solutions on the web4161

  • failed to load the required native library
  • failed to load the required native library
  • failed to load the required native library
  • Stack trace

    • java.lang.UnsatisfiedLinkError: failed to load the required native library at io.netty.handler.ssl.OpenSsl.ensureAvailability(OpenSsl.java:241) at io.netty.handler.ssl.OpenSslContext.<init>(OpenSslContext.java:169) at io.netty.handler.ssl.OpenSslServerContext.<init>(OpenSslServerContext.java:347) at io.netty.handler.ssl.OpenSslServerContext.<init>(OpenSslServerContext.java:337) at io.netty.handler.ssl.SslContext.newServerContextInternal(SslContext.java:413) at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:391) at io.grpc.testing.integration.Http2NettyTest.startServer(Http2NettyTest.java:70) Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty-tcnative-linux-aarch_64, netty-tcnative-linux-aarch_64-fedora, netty-tcnative] at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:167) at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:325) at io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:90) at io.grpc.netty.GrpcSslContexts.defaultSslProvider(GrpcSslContexts.java:137) at io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts.java:119) at io.grpc.netty.GrpcSslContexts.forServer(GrpcSslContexts.java:100) at io.grpc.testing.integration.Http2NettyTest.startServer(Http2NettyTest.java:65)

    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

    8 times, 5 months ago