On
a.out(5)
systems, this file is scanned by
ldconfig(8)
to create the hints files used by the run-time linker
/usr/libexec/ld.so
to locate shared libraries.
On
elf(5)
systems, this file is scanned directly by the run-time linker
/usr/libexec/ld.elf_so
.
Lines beginning with ``#'' are treated as comments and ignored. Any other non-blank lines beginning with '/' are stripped of leading whitespace and trailing comments (introduced with ``#'') together with any preceding whitespace, then treated as directories to be scanned for shared libraries to add to the hints.
On
elf(5)
lines that do not begin with a '/' are parsed as hardware dependent per
library directives:
<library_name> <sysctl_variable> <variable_value>[,...]:<library_name>[,...] ...
/etc/ld.so.conf
libm.so.0 machdep.fpu_present 1:libm387.so.0,libm.so.0