ldconfig(8) manpage says: > Filenames must conform to the lib*.so.[0-9] > pattern in order to be added to the hints file. The pattern should be changed to lib*.so.[0-9]+ because otherwise only 10 choices are available. The code should be verified that it doesn't limit SONAMEs in this way.
See https://reviews.freebsd.org/D30272
commit a19e14ca2d36aa9d5bd392881abd85bf9e2e89ad Author: Konstantin Belousov <kib@FreeBSD.org> Date: Sat May 15 08:12:35 2021 +0300 ldconfig(8): update manpage to reality ELF ldconfig only maintains the search list, there is no hints Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D30272
Also MFCd in 4f2efb2ff471fd