%
% 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
Configure Glibc to install its 64-bit libraries into
/lib64:
@y
64 ビットライブラリを /lib64 にインストールするようにします。
@z
@x
The meaning of the new configure option:
@y
&MeaningOfOption1;configure &MeaningOfOption2;
@z
@x --libexecdir=/usr/lib64/glibc
This changes the location for hard links to the
getconf utility from their default of /usr/libexec to /usr/lib64/glibc.
@y
getconf ユーティリティーへのハードリンクのインストールディレクトリを、デフォルトの /usr/libexec でなく /usr/lib64/glibc に変更します。
@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.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ビットモジュール用 /lib32/ld.so.1、64ビットモジュール用 /lib64/ld.so.1) がダイナミックライブラリを検索するデフォルトのディレクトリは /lib ディレクトリ、/lib64 ディレクトリ、/usr/lib ディレクトリ、/usr/lib64 ディレクトリです。
各種プログラムが実行される際にはここから検索されたダイナミックライブラリがリンクされます。
もしこれ以外のディレクトリにライブラリファイルがあるなら /etc/ld.so.conf ファイルに記述を追加して、ダイナミックローダーが探し出せるようにしておくことが必要です。
ライブラリが配置される追加のディレクトリとしては /usr/local/lib, /usr/local/lib64, /opt/lib, /opt/lib64 といったものがよく利用されます。
ダイナミックローダーの検索パスとしてこのようなディレクトリを追加します。
@z
@x
Create a new file /etc/ld.so.conf by running the
following:
@y
以下のコマンドを実行して /etc/ld.so.conf ファイルを新たに生成します。
@z