New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/pull/48813#issuecomment-1953177160 Comment: Some distros are also carrying this patch https://git.alpinelinux.org/aports/tree/community/shadow/fix-undefined-reference.patch Maybe it's useful?