Skip to content

Publish Netty Tcnative with OpenSSL v3 dynamic linking #910

Description

@ramtech123

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions