New comment by Duncaen on void-packages repository https://github.com/void-linux/void-packages/pull/19232#issuecomment-587478634 Comment: Yes the names are different, for glibc it will be different for every arch, for musl I think its always the same for each architecture. I don't know if there is a good way to get the right name, maybe with help of the compiler or linker. But `ldconfig` would also not work for cross compiling afaik.