% % This is part of CLFSja package. % % This is a CTIE change file for the original XML source of the CLFSbook. % @x @y @z @x Glibc-&glibc-version; 64-Bit @y Glibc-&glibc-version; 64&Bit; @z @x Installation of Glibc @y &InstallationOf1;Glibc&InstallationOf2; @z @x Configuring The Dynamic Loader @y &Configuring1;ダイナミックローダー&Configuring2; @z @x By default, the dynamic loader (/lib/ld-linux.so.2 for 32bit executables and /lib64/ld-linux-x86-64.so.2 for 64bit executables) searches through /lib, /lib64, /usr/lib, and /usr/lib64 for dynamic libraries that are needed by programs as they are run. However, if there are libraries in directories other than these, they need to be added to the /etc/ld.so.conf file in order for the dynamic loader to find them. Some directories that are commonly known to contain additional libraries are /usr/local/lib, /usr/local/lib64, /opt/lib, and /opt/lib64, so add those directories to the dynamic loader's search path. @y ダイナミックリンカー (32ビット用が /lib/ld-linux.so.2、64ビット用が /lib64/ld-linux-x86-64.so.2) がダイナミックライブラリを検索するデフォルトのディレクトリは /lib ディレクトリ、 /lib64 ディレクトリ、/usr/lib ディレクトリ、/usr/lib64 ディレクトリです。 もしこれら以外のディレクトリにライブラリファイルがあるなら /etc/ld.so.conf ファイルに記述を追加して、ダイナミックローダーが探し出せるようにしておくことが必要です。 追加のライブラリが配置されるディレクトリとしては /usr/local/lib ディレクトリ、/usr/local/lib64 ディレクトリ、/opt/lib ディレクトリ、/opt/lib64といったものがよく利用されます。 ダイナミックローダーの検索パスとしてこのようなディレクトリを追加します。 @z