summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-10-20 05:14:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-10-20 05:14:14 +0000
commit41e4af2b3d4b62a818d0402474d74a64a48b6987 (patch)
treeb46e4590da672833f727c91c3450a9f458eb34e6 /libexec
parent873648f36fcb5a3ce4908a5e8d5fbf2604c7f900 (diff)
document shlib_dirs; from Han Boetes (different diff used, though);
ok drahn@
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/ldconfig/ldconfig.831
1 files changed, 27 insertions, 4 deletions
diff --git a/libexec/ld.so/ldconfig/ldconfig.8 b/libexec/ld.so/ldconfig/ldconfig.8
index 45d24781a49..fbc4bef2233 100644
--- a/libexec/ld.so/ldconfig/ldconfig.8
+++ b/libexec/ld.so/ldconfig/ldconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldconfig.8,v 1.12 2003/04/22 05:06:01 david Exp $
+.\" $OpenBSD: ldconfig.8,v 1.13 2003/10/20 05:14:13 jmc Exp $
.\"
.\" Copyright (c) 1993,1995 Paul Kranenburg
.\" All rights reserved.
@@ -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