Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Netty Tcnative with OpenSSL v3 dynamic linking #910

Open
ramtech123 opened this issue Feb 5, 2025 · 0 comments
Open

Publish Netty Tcnative with OpenSSL v3 dynamic linking #910

ramtech123 opened this issue Feb 5, 2025 · 0 comments

Comments

@ramtech123
Copy link

In the current versions of netty-tcnative (until 2.0.69.Final as of today) for linux platform published to maven repository at https://repo1.maven.org/maven2/io/netty/netty-tcnative, dynamically linked version of OpenSSL is 1.x.

[root@03e443b58f28 opt]# ldd META-INF/native/libnetty_tcnative_linux_x86_64.so 
ldd: warning: you do not have execution permission for `META-INF/native/libnetty_tcnative_linux_x86_64.so'
        linux-vdso.so.1 (0x00007ffe6dfc1000)
        libssl.so.1.0.0 => not found
        libcrypto.so.1.0.0 => not found
        libapr-1.so.0 => not found
        libpthread.so.0 => /lib64/libpthread.so.0 (0x000076120d782000)
        libc.so.6 => /lib64/libc.so.6 (0x000076120d579000)
        /lib64/ld-linux-x86-64.so.2 (0x000076120d9ac000)

With upgrade to OpenSSL v3 in almost all the systems, the netty-tcnative artifacts from maven repo are not directly usable anymore. This is contrary to the statement in the wiki that states "You don't usually need to build netty-tcnative by yourself because we officially ship the JARs with the native libraries for Linux x86_64, ..."

While issue #742 tried to address it (PR #802), this upgrade was not applied on openssl-dynamic module for some unknown reason.

Creating this ticket to upgrade the openssl to v3 for dynamically linked module as well.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant