There is an updated pull request by klarasm against master on the void-packages repository https://github.com/klarasm/void-packages nss-pam-ldapd/musl https://github.com/void-linux/void-packages/pull/49070 nss-pam-ldapd: build libnss_ldap.so.2 for musl Don't disable nss in configure. Grab patch from Gentoo for defines missing in musl netdb.h Also remove -F flag in runit script for musl-nscd as it's not recognized. Tested against my ldap servers and can confirm that it fetches the data defined by nsswitch.conf. #### Testing the changes - I tested the changes in this PR: **briefly** #### Local build testing - I built this PR locally for my native architecture, (x86_64-musl) - I built this PR locally for these architectures: - aarch64-musl - armv7l - armv6l-musl A patch file from https://github.com/void-linux/void-packages/pull/49070.patch is attached