Skip to content

Link against to the libcrypt.so.2 #703

@floating-cat

Description

@floating-cat

OS: Linux
Library: netty-tcnative-*-static

I just noticed that I am unable to run a Netty app in ArchLinux because Arch's glibc package has removed the libcrypt.so.1: https://bbs.archlinux.org/viewtopic.php?id=274160
So I need to install the libxcrypt-compat to run it.
From my checking, this is the same in the Fedora, and I think there would be more distro to remove it in the future.

To build a libcrypt.so.1 from besser82/libxcrypt, the package need to not use the --disable-obsolete-api flag when building which is not used by some distros, and we need to install the libxcrypt-compat additionally.

Would it better if the netty-tcnative-*-static link against to the libcrypt.so.2 and recommend the users to install the libxcrypt package instead if they don't have the libcrypt.so.2 installed?

Thanks.

Some reference links:
pypa/manylinux#305 (comment)
https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions