1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
|
.\" -*- nroff -*-
.\" Copyright 1999 SuSE GmbH Nuernberg, Germany
.\" Author: Thorsten Kukuk <kukuk@suse.de>
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of the
.\" License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
.\" General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this program; see the file COPYING. If not,
.\" write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
.\" Boston, MA 02111-1307, USA.
.\"
.\" Modified, 6 May 2002, Michael Kerrisk, <mtk.manpages@gmail.com>
.\" Change listed order of /usr/lib and /lib
.\"
.\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
.\" Translated Sat May 23 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\" Updated & Modified Tue Sep 14 1999 by NAKANO Takeo
.\" Updated & Modified Mon Jun 4 20:13:57 JST 2001
.\" by Yuichi SATO <ysato@h4.dion.ne.jp>
.\"
.\"WORD: verbose mode ܺɽ⡼
.\"WORD: quiet mode å⡼
.\"
.TH LDCONFIG 8 2002-05-06 "GNU" "Linux Programmer's Manual"
.SH ̾
/sbin/ldconfig \- ưŪˤ¹Իηطꤹ
.SH
.B /sbin/ldconfig
[
.B \-nNvXV
]
[
.BR \-f\ conf
]
[
.BR \-C\ cache
]
[
.BR \-r\ root
]
.IR directory \ ...
.PD 0
.PP
.PD
.B /sbin/ldconfig
.B \-l
[
.B \-v
]
.IR library \ ...
.PD 0
.PP
.PD
.B /sbin/ldconfig
.B \-p
.SH
.B ldcofig
Ϻǿζͭ饤֥Фɬפʥꡢ
饤֥å夷ꤹ롣
饤֥ϡޥɥ饤
.I /etc/ld.so.conf
եǻꤵ줿ǥ쥯ȥ䡢ͭ饤֥꤬
֤̾ǥ쥯ȥ
.RI ( /lib " " /usr/lib )
鸡롣
åϼ¹Ի
.I ld.so
ޤ
.I ld-linux.so
ˤäƻȤ롣
.B ldconfig
Ͻ饤֥Υإåʬȥե̾å
ɤΥСФƥ٤ȽǤ롣
.PP
.B ldconfig
ELF 饤֥μ (libc5 libc6/glibc ) ȽǤȤ
Υ饤֥꤬Ƥ C 饤֥ͤˤ롣
.\" ʲʸƤɤ路
.\" (餯ΰʪǤ) -- MTK, Jul 2005
.\" äƥʥߥå饤֥Ȥˤϡ
.\" libc Ф (\-lc Ĥä) Ƥɤ
.PP
Ǥ¸ߤƤ饤֥ˤϡ̤뤿˽ʬ
ޤޤƤʤΤ⤢롣
Τ
.I /etc/ld.so.conf
եǥ饤֥ηꤹ뤳ȤǤ褦ˤʤäƤ롣
϶ǽ ELF 饤֥֤פѤΤǤ롣
եޥåȤ "dirname=TYPE" Ȥ롣
TYPE libc4, libc5, libc6 Τ줫Ǥ
(νϥޥɥ饤ǤȤ)
֥ڡƤϤʤʤס
.B \-p
ץ⸫Ƥȡ
.B ldconfig
̾凉ѡ桼¤Ǽ¹ԤʤФʤʤ
root ͭƤǥ쥯ȥեؤν߸¤
ɬפˤʤ뤫Ǥ롣
.SH ץ
.TP
.B \-v
ܺɽ⡼ɡ
ߤΥСֹɽ롣
ޤ줾Υǥ쥯ȥ
뤿ӤˡƤɽ롣
å⡼ɤ롣
.TP
.B \-n
ޥɥ饤ǻꤵ줿ǥ쥯ȥΤߤ롣
̾ﶦͭ饤֥꤬֤ǥ쥯ȥ
.RI ( /lib " " /usr/lib )
.I /etc/ld.so.conf
ǻꤵ줿ǥ쥯ȥϽʤ
ۤΤ
.B \-N
ꤵ롣
.TP
.B \-N
åƹʤ
Ʊ
.B \-X
Ʊ˻ꤵʤСΤۤϹ롣
.TP
.B \-X
ʤ
.B \-N
Ʊ˻ꤵʤСåΤۤϺƹ롣
.TP
.B \-f conf
.B conf
.I /etc/ld.so.conf
Ѥ롣
.TP
.B \-C cache
.B cache
.I /etc/ld.so.cache
Ѥ롣
.TP
.B \-r root
.I root
˥ȥǥ쥯ȥѹ롼ȥǥ쥯ȥȤѤ롣
.TP
.B \-l
饤֥⡼ɡ줾Υ饤֥ưǥ롣
ԤΤߤѤ٤Ǥ롣
.TP
.B \-p
ߤΥå¸Ƥǥ쥯ȥΥꥹȤȡ
饤֥θɽ롣
.SH ե
.PD 0
.TP 20
.I /lib/ld.so
¹Ի/
.TP 20
.I /etc/ld.so.conf
ڡ֡ԡޤǶڤ줿ǥ쥯ȥΥꥹȡ
줾Υǥ쥯ȥǥ饤֥꤬롣
.TP 20
.I /etc/ld.so.cache
.I /etc/ld.so.conf
ǻꤵ줿ǥ쥯ȥǸĤä饤֥νդꥹȡ
.PD
.SH Ϣ
.BR ldd (1),
.BR ld.so (8)
|