Skip to content

failed to compile on `musl` libc

Issue description

failed to compile due to musl don't have dlvsym implementation

Steps for reproducing the issue

try to compile on musl libc (available as default libc on: alpine, void, kiss, gentoo)

Additional info

i'm trying to compile cryptsetup version 2.4.0

Error log

ld.lld: error: ./.libs/libcryptsetup.so: undefined reference to dlvsym [--no-allow-shlib-undefined]