ldconfig.8 (571b472b209b70c4210d46d2f8845820d9ad4887) ldconfig.8 (d4ba5766dde61481c91cb861ae7894fb7e3eac9b)
1.\"
2.\" Copyright (c) 1993 Paul Kranenburg
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29.\"
1.\"
2.\" Copyright (c) 1993 Paul Kranenburg
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29.\"
30.\" $Id: ldconfig.8,v 1.12 1997/02/22 15:46:37 peter Exp $
30.\" $Id: ldconfig.8,v 1.13 1997/07/11 14:45:40 jkh Exp $
31.\"
32.Dd October 3, 1993
33.Dt LDCONFIG 8
34.Os FreeBSD
35.Sh NAME
36.Nm ldconfig
37.Nd configure the shared library cache
38.Sh SYNOPSIS
39.Nm ldconfig
31.\"
32.Dd October 3, 1993
33.Dt LDCONFIG 8
34.Os FreeBSD
35.Sh NAME
36.Nm ldconfig
37.Nd configure the shared library cache
38.Sh SYNOPSIS
39.Nm ldconfig
40.Op Fl mrsv
40.Op Fl Rmrsv
41.Op Fl f Ar hints_file
42.Op Ar directory | file Ar ...
43.Sh DESCRIPTION
44.Nm
45is used to prepare a set of
46.Dq hints
47for use by the run-time linker
48.Xr ld.so 1

--- 36 unchanged lines hidden (view full) ---

85.Xr ld 1 .
86.Pp
87.Nm Ldconfig
88is typically run as part of the boot sequence.
89.Pp
90The following options recognized by
91.Nm ldconfig:
92.Bl -tag -width indent
41.Op Fl f Ar hints_file
42.Op Ar directory | file Ar ...
43.Sh DESCRIPTION
44.Nm
45is used to prepare a set of
46.Dq hints
47for use by the run-time linker
48.Xr ld.so 1

--- 36 unchanged lines hidden (view full) ---

85.Xr ld 1 .
86.Pp
87.Nm Ldconfig
88is typically run as part of the boot sequence.
89.Pp
90The following options recognized by
91.Nm ldconfig:
92.Bl -tag -width indent
93.It Fl R
94Rescan the previously configured directories. This opens the previous hints
95file and fetches the directory list from the header. Any additional pathnames
96on the command line are also processed.
93.It Fl f Ar hints_file
94Read and/or update the specified hints file, instead of
95.Pa /var/run/ld.so.hints .
96This option is provided primarily for testing.
97.It Fl m
98Instead of replacing the contents of the hints file
99with those found in the directories specified,
100.Dq merge
101in new entries.
102Directories recorded in the hints file by previous runs of
103.Nm
104are also rescanned for new shared libraries.
105.It Fl r
106List the current contents of the hints file
97.It Fl f Ar hints_file
98Read and/or update the specified hints file, instead of
99.Pa /var/run/ld.so.hints .
100This option is provided primarily for testing.
101.It Fl m
102Instead of replacing the contents of the hints file
103with those found in the directories specified,
104.Dq merge
105in new entries.
106Directories recorded in the hints file by previous runs of
107.Nm
108are also rescanned for new shared libraries.
109.It Fl r
110List the current contents of the hints file
107on the standard output. The hints file is not modified.
111on the standard output. The hints file is not modified. The list of
112directories stored in the hints file is included.
108.It Fl s
109Do not scan the built-in system directory
110.Pq Dq /usr/lib
111for shared libraries.
112.It Fl v
113Switch on verbose mode.
114.Sh Security
115Special care must be taken when loading shared libraries into the address

--- 29 unchanged lines hidden ---
113.It Fl s
114Do not scan the built-in system directory
115.Pq Dq /usr/lib
116for shared libraries.
117.It Fl v
118Switch on verbose mode.
119.Sh Security
120Special care must be taken when loading shared libraries into the address

--- 29 unchanged lines hidden ---