summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-09-28 22:24:32 +0000
committerderaadt <deraadt@openbsd.org>2005-09-28 22:24:32 +0000
commit74e6d09a9cf6d520aa8ee4777c47aecc38e23522 (patch)
tree56cd8ffa7d9e13b3c78b962db10d3c2b3e883e63
parentcorrect last commit, in both files. (diff)
downloadwireguard-openbsd-74e6d09a9cf6d520aa8ee4777c47aecc38e23522.tar.xz
wireguard-openbsd-74e6d09a9cf6d520aa8ee4777c47aecc38e23522.zip
sync to ELF version of this man page
-rw-r--r--gnu/usr.bin/ld/ldconfig/ldconfig.833
1 files changed, 28 insertions, 5 deletions
diff --git a/gnu/usr.bin/ld/ldconfig/ldconfig.8 b/gnu/usr.bin/ld/ldconfig/ldconfig.8
index 56956459bc2..4fb9b5249b0 100644
--- a/gnu/usr.bin/ld/ldconfig/ldconfig.8
+++ b/gnu/usr.bin/ld/ldconfig/ldconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldconfig.8,v 1.9 2004/11/22 00:58:39 jmc Exp $
+.\" $OpenBSD: ldconfig.8,v 1.10 2005/09/28 22:24:32 deraadt Exp $
.\"
.\" Copyright (c) 1993,1995 Paul Kranenburg
.\" All rights reserved.
@@ -13,7 +13,7 @@
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
-.\" This product includes software developed by Paul Kranenburg.
+.\" This product includes software developed by Paul Kranenburg.
.\" 3. The name of the author may not be used to endorse or promote products
.\" derived from this software without specific prior written permission
.\"
@@ -68,7 +68,7 @@ directories (or the order thereof) from the cache or to specify additional
directories where shared libraries might be found.
.Ev LD_LIBRARY_PATH
is a
-.Sq \:
+.Sq \&:
separated list of directory paths which are searched by
.Xr ld.so 1
when it needs to load a shared library.
@@ -79,6 +79,14 @@ switch of
.Pp
.Nm
is typically run as part of the boot sequence.
+In addition to the built-in system directories,
+directories containing shared libraries may be specified via the
+.Ev shlib_dirs
+variable in
+.Pa /etc/rc.conf.local .
+See
+.Xr rc.conf 8
+for further information.
.Pp
The following options are recognized by
.Nm ldconfig :
@@ -136,11 +144,26 @@ are under control of the system's administrator.
further assists set-user-Id programs by erasing the
.Ev LD_LIBRARY_PATH
from the environment.
+.Sh ENVIRONMENT
+.Bl -tag -width Ds
+.It Ev LD_LIBRARY_PATH
+Additional directories containing shared libraries,
+settable in the user's environment.
+.It Ev shlib_dirs
+Additional directories containing shared libraries,
+settable in
+.Pa /etc/rc.conf.local .
+.El
.Sh FILES
-.Pa /var/run/ld.so.hints
+.Bl -tag -width Ds -compact
+.It Pa /etc/rc.conf
+.It Pa /etc/rc.conf.local
+.It Pa /var/run/ld.so.hints
+.El
.Sh SEE ALSO
.Xr ld 1 ,
-.Xr link 5
+.Xr link 5 ,
+.Xr rc.conf 8
.Sh HISTORY
A
.Nm