summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-09-28 22:24:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-09-28 22:24:33 +0000
commit3fe6c05ce250c4d8dc3d85b1cbd895db85761d37 (patch)
tree299356db5338bedb1623a2e37469be9862199097 /gnu/usr.bin/ld
parenta2c5de50789c2379a62d1f188c8f3d2505e7ea3e (diff)
sync to ELF version of this man page
Diffstat (limited to 'gnu/usr.bin/ld')
-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