Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
Please see https://github.com/netty/netty-tcnative/issues/681
Currently Netty loads the first libnetty-tcnative-** resource on the classpath.
If https://github.com/netty/netty/pull/11856 is accepted then Netty will stop tolerating this and throw an exception if there are more than one jars in the classpath providing its native libraries.
I see that https://repo1.maven.org/maven2/org/apache/ratis/ratis-thirdparty-misc/0.7.0/ partially solves this problem by shading half of the .so files. The other half should be shaded as well!
libnetty_resolver_dns_native_macos_x86_64.jnilib libnetty_tcnative_linux_aarch_64.so libnetty_transport_native_epoll_aarch_64.so libnetty_transport_native_epoll_x86_64.so libnetty_transport_native_kqueue_x86_64.jnilib liborg_apache_ratis_thirdparty_netty_tcnative_linux_x86_64.so liborg_apache_ratis_thirdparty_netty_tcnative_osx_x86_64.jnilib liborg_apache_ratis_thirdparty_netty_transport_native_epoll_x86_64.so liborg_apache_ratis_thirdparty_netty_transport_native_kqueue_x86_64.jnilib org_apache_ratis_thirdparty_netty_tcnative_windows_x86_64.dll
Attachments
Issue Links
- is duplicated by
-
RATIS-1483 Failed to load the required native library when starting RaftServer on aarch64 platform
- Resolved
- links to