summaryrefslogtreecommitdiffstats
path: root/sbin/ldconfig/ldconfig.8
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-07-11 14:45:41 +0000
committerjkh <jkh@FreeBSD.org>1997-07-11 14:45:41 +0000
commit9ede654e001c9f42a578493aefb7c0a4feca3dbf (patch)
treec57b41520787194a93e0a0521777999404261baf /sbin/ldconfig/ldconfig.8
parent4320b928687c8a38af1fa22b6545e894f95172d2 (diff)
downloadFreeBSD-src-9ede654e001c9f42a578493aefb7c0a4feca3dbf.zip
FreeBSD-src-9ede654e001c9f42a578493aefb7c0a4feca3dbf.tar.gz
Allow ldconfig to accept files (containing directory paths) as well as
directory paths. Reviewed by: jkh & jdp Submitted by: Hans Zuidam <hans@brandinnovators.com>
Diffstat (limited to 'sbin/ldconfig/ldconfig.8')
-rw-r--r--sbin/ldconfig/ldconfig.819
1 files changed, 16 insertions, 3 deletions
diff --git a/sbin/ldconfig/ldconfig.8 b/sbin/ldconfig/ldconfig.8
index 07d5d69..3aee7bd 100644
--- a/sbin/ldconfig/ldconfig.8
+++ b/sbin/ldconfig/ldconfig.8
@@ -27,7 +27,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: ldconfig.8,v 1.12 1997/02/22 15:46:37 peter Exp $
.\"
.Dd October 3, 1993
.Dt LDCONFIG 8
@@ -39,7 +39,7 @@
.Nm ldconfig
.Op Fl mrsv
.Op Fl f Ar hints_file
-.Op Ar directory Ar ...
+.Op Ar directory | file Ar ...
.Sh DESCRIPTION
.Nm
is used to prepare a set of
@@ -57,6 +57,13 @@ directory search operations
.Xr ld.so 1
would have to perform to load the required shared libraries.
.Pp
+Files named on the command line are expected to contain directories
+to scan for shared libraries. Each directory's pathname must start on a new
+line. Blank lines and lines starting with the comment character
+.Ql \&#
+are ignored. A standard name for this file is
+.Xr /etc/ld.so.conf.
+.Pp
The shared libraries so found will be automatically available for loading
if needed by the program being prepared for execution. This obviates the need
for storing search paths within the executable.
@@ -120,7 +127,13 @@ be safely loaded. It is presumed that the set of directories specified to
.Nm ldconfig
are under control of the system's administrator.
.Sh FILES
-.Pa /var/run/ld.so.hints
+.Bl -tag -width /var/run/ld.so.hintsxxx -compact
+.It Pa /var/run/ld.so.hints
+Default
+.Dq hints
+file.
+.It Pa /etc/ld.so.conf
+Standard configuration file.
.Sh SEE ALSO
.Xr ld 1 ,
.Xr link 5
OpenPOWER on IntegriCloud