+.\" %%%LICENSE_START(PUBLIC_DOMAIN)
.\" This is in the public domain
+.\" %%%LICENSE_END
+.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LD.SO 8 2012\-04\-17 GNU "Linux Programmer's Manual"
+.TH LD.SO 8 2013\-02\-10 GNU "Linux Programmer's Manual"
.SH 名前
ld.so, ld\-linux.so* \- 動的なリンカ/ローダ
.SH 書式
バイナリを扱う。 このフォーマットは多くの人が最近何年も使っている。 それ以外の点では両方とも同じように動作し、 同じサポートファイルとプログラム
\fBldd\fP(1), \fBldconfig\fP(8), \fI/etc/ld.so.conf\fP を使用する。
.LP
-プログラムで必要とされる共有ライブラリは、 以下の順序で検索される。
+When resolving library dependencies, the dynamic linker first inspects each
+dependency string to see if it contains a slash (this can occur if a library
+pathname containing slashes was specified at link time). If a slash is
+found, then the dependency string is interpreted as a (relative or absolute)
+pathname, and the library is loaded using that pathname.
+.LP
+If a library dependency does not contain a slash, then it is searched for in
+the following order:
.IP o 3
(ELF のみ) バイナリの動的セクション属性 DT_RPATH が存在し、 DT_RUNPATH 属性が存在しない場合は、 DT_RPATH
で指定されたディレクトリを使用する。 DT_RPATH の使用は推奨されない。
.IP o
(ELF のみ) バイナリの動的セクション属性 DT_RUNPATH が存在すれば、 DT_RUNPATH で指定されたディレクトリを使用する。
.IP o
-キャッシュファイル \fI/etc/ld.so.cache\fP を探す。
-このファイルは、 (ld.so.conf で追加指定されたものも含めた) ライブラリ検索パスから
-見つかったライブラリファイルの情報を集めたものである。
-ただし、バイナリがリンカオプション \fB\-z nodeflib\fP でリンクされている場合は、
-デフォルトのライブラリパスにある ライブラリはスキップされる。
-ハードウェア機能ディレクトリ (下記参照) にインストールされたライブラリは、
-他のライブラリよりも優先される。
+From the cache file \fI/etc/ld.so.cache\fP, which contains a compiled list of
+candidate libraries previously found in the augmented library path. If,
+however, the binary was linked with the \fB\-z nodeflib\fP linker option,
+libraries in the default library paths are skipped. Libraries installed in
+hardware capability directories (see below) are preferred to other
+libraries.
.IP o
デフォルトパスである \fI/lib\fP、 次いで \fI/usr/lib\fP を用いる。 バイナリがリンカオプション \fB\-z nodeflib\fP
でリンクされている場合、このステップはスキップされる。
.\" it appears.
.\"
.\" There is also $PLATFORM. This is a kind of wildcard
-.\" of directories related at AT_HWCAP. To get an idea of the
+.\" of directories related to AT_PLATFORM. To get an idea of the
.\" places that $PLATFORM would match, look at the output of the
.\" following:
.\"
dfp, eimm, esan3, etf3enh, g5, highgprs, hpage, ldisp, msa, stfle, z900,
z990, z9\-109, z10, zarch
.TP
-.TP
\fBx86 (32\-bit のみ)\fP
acpi, apic, clflush, cmov, cx8, dts, fxsr, ht, i386, i486, i586, i686, mca,
mmx, mtrr, pat, pbe, pge, pn, pse36, sep, ss, sse, sse2, tm
空文字列の場合、解決しなければならない関数呼び出しが 最初に参照された時点で解決する。 デバッガを使っているときに役立つ。
.TP
\fBLD_LIBRARY_PATH\fP
-コロン区切りのディレクトリリスト。 実行時に ELF ライブラリを検索するディレクトリを指定する。 \fBPATH\fP 環境変数と同じように指定する。
+A colon\-separated list of directories in which to search for ELF libraries
+at execution\-time. Similar to the \fBPATH\fP environment variable. Ignored in
+set\-user\-ID and set\-group\-ID programs.
.TP
\fBLD_PRELOAD\fP
-スペース区切りで ELF 共有ライブラリを指定する。 これはユーザーが指定でき、すべてのライブラリに先立ってロードされる。
-他の共有ライブラリにある関数を選択的に置き換えるために用いることができる。 set\-user\-ID/set\-group\-ID された ELF
-バイナリに対して、 標準的な検索パスにあるライブラリのうち set\-user\-ID されているものはロードしない。
+A list of additional, user\-specified, ELF shared libraries to be loaded
+before all others. The items of the list can be separated by spaces or
+colons. This can be used to selectively override functions in other shared
+libraries. The libraries are searched for using the rules given under
+DESCRIPTION. For set\-user\-ID/set\-group\-ID ELF binaries, preload pathnames
+containing slashes are ignored, and libraries in the standard search
+directories are loaded only if the set\-user\-ID permission bit is enabled on
+the library file.
.TP
\fBLD_TRACE_LOADED_OBJECTS\fP
(ELF のみ) 空文字列でない場合、 プログラムを普通に実行するのではなく、 \fBldd\fP(1)
されたプログラムでは、 この変数は無視される。
.TP
\fBLD_VERBOSE\fP
-(glibc 2.1 以降) 空文字列でない場合に、 (\fBLD_TRACE_LOADED_OBJECTS\fP を設定するか、 \fB\-\-list\fP
-または \fB\-\-verify\fP オプションを動的リンカに指定することにより) プログラムについての情報を問い合わせると、
-プログラムのシンボルバージョン情報を表示する。
+(glibc since 2.1) If set to a nonempty string, output symbol versioning
+information about the program if \fBLD_TRACE_LOADED_OBJECTS\fP variable has
+been set.
.TP
\fBLD_WARN\fP
(ELF のみ)(glibc 2.1.3 以降) 空文字列でない場合、解決されていないシンボルがあれば警告を出す。
ライブラリを検索するディレクトリを集めたリストと、 共有ライブラリの候補の整列リストを含むファイル。
.TP
\fI/etc/ld.so.preload\fP
-プログラムの前にロードすべき ELF 共有ライブラリを スペースで区切ったリストが書かれているファイル。
+File containing a whitespace\-separated list of ELF shared libraries to be
+loaded before the program.
.TP
\fBlib*.so*\fP
共有ライブラリ
.\" ld-linux.so: Roland McGrath, Ulrich Drepper and others.
.\"
.\" In the above, (libc5) stands for David Engel's ld.so/ld-linux.so.
-\fBldd\fP(1), \fBrtld\-audit\fP(7), \fBldconfig\fP(8)
+\fBldd\fP(1), \fBsln\fP(1), \fBgetauxval\fP(3), \fBrtld\-audit\fP(7), \fBldconfig\fP(8)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。