Document syntax supported by internal processing in ld.so, from
Jim Bernard <jbernard@tater.mines.edu>, PR #4031.
This commit is contained in:
parent
c48a53ac99
commit
a9ac3f4261
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: ld.so.conf.5,v 1.6 1997/06/06 15:06:18 kleink Exp $
|
||||
.\" $NetBSD: ld.so.conf.5,v 1.7 1997/08/26 19:33:20 thorpej Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Matthew R. Green
|
||||
.\" All rights reserved.
|
||||
@ -30,7 +30,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd December 30, 1996
|
||||
.Dd August 24, 1997
|
||||
.Dt LD.SO.CONF 5
|
||||
.Os NetBSD 1.3
|
||||
.Sh NAME
|
||||
@ -39,21 +39,30 @@
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
file specifies the directories to be added to the hints file used by the
|
||||
run-time linker
|
||||
.Pa /usr/libexec/ld.so
|
||||
at system boot time. Each line in
|
||||
.Nm
|
||||
is treated as a directory to be added to the hints.
|
||||
file specifies additional default directories (beyond the standard set,
|
||||
normally
|
||||
.Dq /usr/lib )
|
||||
to be scanned by
|
||||
.Nm ldconfig
|
||||
for shared libraries to include in the hints file used by the run-time linker
|
||||
.Pa /usr/libexec/ld.so .
|
||||
.Pp
|
||||
Lines beginning with
|
||||
.Dq #
|
||||
are treated as comments and ignored. Any other non-blank lines
|
||||
are stripped of leading whitespace and trailing comments (introduced with
|
||||
.Dq # )
|
||||
together with any preceding whitespace, then treated as directories to be
|
||||
scanned for shared libraries to add to the hints.
|
||||
.Sh FILES
|
||||
.Pa /etc/ld.so.conf
|
||||
.Sh SEE ALSO
|
||||
.Xr ldconfig 8
|
||||
.Sh BUGS
|
||||
The
|
||||
.Nm
|
||||
file should allow comments with # symbol, but the current implementation
|
||||
does not allow this.
|
||||
Directory names containing the comment character
|
||||
.Pq Dq #
|
||||
and/or leading or trailing whitespace cannot be included. (Embedded blanks
|
||||
are allowed, however.)
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
|
Loading…
Reference in New Issue
Block a user