netty / netty-tcnative

A fork of Apache Tomcat Native, based on finagle-native
Apache License 2.0
239 stars 179 forks source link

ubuntu linux support for openssl 3.x #876

Open mason124124 opened 2 months ago

mason124124 commented 2 months ago

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/huwen/dev/tools/gradle_user_home/native/libnetty_tcnative_linux_x86_64.so: libssl.so.1.0.0: cannot open shared object file: No such file or directory at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:287)

looks like the libnetty_tcnative_linux_x86_64.so requires openssl 1.0.0. Is this PR fix the issue? https://github.com/netty/netty-tcnative/commit/c9b4b6ab62cdbfb4aab6ab3efb8dd7cf73f353ad

When will 2.0.66.FINAL be released?

gapropp123 commented 14 hours ago

Hi @mason124124, version 2.0.66.Final has been released. Are you still experiencing that issue? I'm currently on this version and still facing it