netty / netty-tcnative

A fork of Apache Tomcat Native, based on finagle-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java.lang.UnsatisfiedLinkError after updating to Netty 4.1.77.Final and tcnative 2.0.52.Final

chamil321 opened this issue · comments

Using following dependencies in the project which runs on java 11

    implementation group: 'io.netty', name: 'netty-codec-http2', version:"${nettyVersion}"
    implementation group: 'io.netty', name: 'netty-handler-proxy', version:"${nettyVersion}"
    implementation group: 'io.netty', name: 'netty-tcnative-boringssl-static', version:"${nettyTcnativeVersion}"
    implementation group: 'io.netty', name: 'netty-tcnative-classes', version:"${nettyTcnativeVersion}"

Error

error: Dependant module initialization for test suite failed due to 
java.lang.UnsatisfiedLinkError {"message":"failed to load the required native library",
"cause":error("java.lang.IllegalArgumentException",
message="Failed to load any of the given libraries: [netty_tcnative_osx_x86_64, netty_tcnative_x86_64, netty_tcnative]")}

Due to #696, need to add required native libs separately