ldconfig / dynamic linker hints library name conventions

Tim Kientzle kientzle at acm.org
Tue Dec 9 15:40:03 PST 2003


Michael Nottebrock wrote:
> From the ldconfig manpage:
> 
> "Filenames must conform to the lib*.so.[0-9] pattern in order to
> be added to the hints file."
> 
> I wonder if there actually are any compelling reasons to keep this behaviour - 

Yes there are.  Not all shared libraries are meant to be seen
by ldconfig.  Some programs use shared libraries as
"plug-ins" that only get loaded under explicit control of
the program.  Allowing ldconfig to see them just puts garbage
in the hints file.




More information about the freebsd-current mailing list