[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[3e36a78] | 4 | <!ENTITY % patches-entities SYSTEM "../patches.ent">
|
---|
[673b0d8] | 5 | %general-entities;
|
---|
[3e36a78] | 6 | %patches-entities;
|
---|
[673b0d8] | 7 | ]>
|
---|
[81fd230] | 8 | <sect1 id="ch-system-glibc" role="wrap">
|
---|
[673b0d8] | 9 | <title>Glibc-&glibc-version;</title>
|
---|
| 10 | <?dbhtml filename="glibc.html"?>
|
---|
| 11 |
|
---|
| 12 | <indexterm zone="ch-system-glibc"><primary sortas="a-Glibc">Glibc</primary></indexterm>
|
---|
[6370fa6] | 13 |
|
---|
[a001133] | 14 | <sect2 role="package"><title/>
|
---|
[81fd230] | 15 | <para>The Glibc package contains the main C library. This library provides
|
---|
| 16 | the basic routines for allocating memory, searching directories, opening and
|
---|
| 17 | closing files, reading and writing files, string handling, pattern matching,
|
---|
| 18 | arithmetic, and so on.</para>
|
---|
[5888299] | 19 |
|
---|
[a001133] | 20 | <segmentedlist>
|
---|
| 21 | <segtitle>&buildtime;</segtitle>
|
---|
| 22 | <segtitle>&diskspace;</segtitle>
|
---|
[eb6d9eb] | 23 | <seglistitem><seg>12.3 SBU</seg><seg>476</seg></seglistitem>
|
---|
[a001133] | 24 | </segmentedlist>
|
---|
[673b0d8] | 25 |
|
---|
[81fd230] | 26 | <segmentedlist>
|
---|
[45992ae] | 27 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 28 | <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
|
---|
| 29 | Gawk, GCC, Gettext, Grep, Make, Perl, Sed, and Texinfo</seg></seglistitem>
|
---|
| 30 | </segmentedlist>
|
---|
[a001133] | 31 | </sect2>
|
---|
[3554fa3a] | 32 |
|
---|
[a001133] | 33 | <sect2 role="installation">
|
---|
[5888299] | 34 | <title>Installation of Glibc</title>
|
---|
[73aedd1d] | 35 |
|
---|
[791a9ec] | 36 | <note><para>Some packages outside of LFS suggest installing GNU libiconv in
|
---|
| 37 | order to translate data from one encoding to another. The project's home page
|
---|
| 38 | (<ulink url="http://www.gnu.org/software/libiconv/"/>) says <quote>This library
|
---|
| 39 | provides an <function>iconv()</function> implementation, for use on systems
|
---|
| 40 | which don't have one, or whose implementation cannot convert from/to Unicode.
|
---|
| 41 | </quote> Glibc provides an <function>iconv()</function> implementation and can
|
---|
| 42 | convert from/to Unicode, therefore libiconv is not required on an LFS
|
---|
| 43 | system.</para></note>
|
---|
| 44 |
|
---|
[81fd230] | 45 | <para>This package is known to have issues when its default
|
---|
| 46 | optimization flags (including the <parameter>-march</parameter> and
|
---|
| 47 | <parameter>-mcpu</parameter> options) are changed. If any environment
|
---|
| 48 | variables that override default optimizations have been defined, such
|
---|
| 49 | as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
|
---|
| 50 | unset them when building Glibc.</para>
|
---|
| 51 |
|
---|
| 52 | <para>The Glibc build system is self-contained and will install
|
---|
| 53 | perfectly, even though the compiler specs file and linker are still
|
---|
| 54 | pointing at <filename class="directory">/tools</filename>. The specs
|
---|
| 55 | and linker cannot be adjusted before the Glibc install because the
|
---|
| 56 | Glibc autoconf tests would give false results and defeat the goal
|
---|
| 57 | of achieving a clean build.</para>
|
---|
[73941fd] | 58 |
|
---|
[81fd230] | 59 | <para>The linuxthreads tarball contains the man pages for the
|
---|
[cb93a88] | 60 | threading libraries installed by Glibc. Unpack the tarball from
|
---|
| 61 | within the Glibc source directory:</para>
|
---|
[73941fd] | 62 |
|
---|
[01674db2] | 63 | <screen><userinput>tar -xf /sources/glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen>
|
---|
[81fd230] | 64 |
|
---|
[a7e97df7] | 65 | <para>Glibc has two tests which fail when the running kernel is 2.6.11 or later.
|
---|
| 66 | The problem has been determined to be with the tests themselves, not with the
|
---|
| 67 | C library or the kernel. This patch fixes the problem:</para>
|
---|
[c3bb6d8] | 68 |
|
---|
[3e36a78] | 69 | <screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
|
---|
[c3bb6d8] | 70 |
|
---|
[81fd230] | 71 | <para>The Glibc documentation recommends building Glibc outside of the source
|
---|
| 72 | directory in a dedicated build directory:</para>
|
---|
[73aedd1d] | 73 |
|
---|
| 74 | <screen><userinput>mkdir ../glibc-build
|
---|
| 75 | cd ../glibc-build</userinput></screen>
|
---|
| 76 |
|
---|
[81fd230] | 77 | <para>Prepare Glibc for compilation:</para>
|
---|
[73aedd1d] | 78 |
|
---|
[9dfc02f] | 79 | <screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
|
---|
[084db8d] | 80 | --disable-profile --enable-add-ons \
|
---|
[8e97f32] | 81 | --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
|
---|
[73aedd1d] | 82 |
|
---|
[fc298480] | 83 | <para>The meaning of the new configure options:</para>
|
---|
[81fd230] | 84 |
|
---|
| 85 | <variablelist>
|
---|
| 86 | <varlistentry>
|
---|
| 87 | <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
|
---|
| 88 | <listitem><para>This changes the location of the
|
---|
| 89 | <command>pt_chown</command> program from its default of <filename
|
---|
| 90 | class="directory">/usr/libexec</filename> to <filename
|
---|
| 91 | class="directory">/usr/lib/glibc</filename>.</para></listitem>
|
---|
| 92 | </varlistentry>
|
---|
| 93 | </variablelist>
|
---|
| 94 |
|
---|
[73aedd1d] | 95 | <para>Compile the package:</para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput>make</userinput></screen>
|
---|
| 98 |
|
---|
[81fd230] | 99 | <important><para>In this section, the test suite for Glibc is
|
---|
| 100 | considered critical. Do not skip it under any
|
---|
| 101 | circumstance.</para></important>
|
---|
| 102 |
|
---|
[73aedd1d] | 103 | <para>Test the results:</para>
|
---|
| 104 |
|
---|
| 105 | <screen><userinput>make check</userinput></screen>
|
---|
| 106 |
|
---|
[81fd230] | 107 | <para>The Glibc test suite is highly dependent on certain functions of
|
---|
| 108 | the host system, in particular the kernel. In general, the Glibc test
|
---|
| 109 | suite is always expected to pass. However, in certain circumstances,
|
---|
| 110 | some failures are unavoidable. This is a list of the most common
|
---|
| 111 | issues:</para>
|
---|
| 112 |
|
---|
| 113 | <itemizedlist>
|
---|
| 114 | <listitem><para>The <emphasis>math</emphasis> tests sometimes fail when running
|
---|
| 115 | on systems where the CPU is not a relatively new genuine Intel or authentic AMD.
|
---|
| 116 | Certain optimization settings are also known to be a factor here.</para></listitem>
|
---|
| 117 |
|
---|
| 118 | <listitem><para>The <emphasis>gettext</emphasis> test sometimes fails due to
|
---|
| 119 | host system issues. The exact reasons are not yet clear.</para></listitem>
|
---|
| 120 |
|
---|
[c4d687f] | 121 | <listitem><para>If you have mounted the LFS partition with the
|
---|
[2645ec6] | 122 | <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test will
|
---|
| 123 | fail. As mentioned in <xref linkend="space-mounting"/>, do not use the
|
---|
| 124 | <parameter>noatime</parameter> option while building LFS.</para></listitem>
|
---|
[81fd230] | 125 |
|
---|
| 126 | <listitem><para>When running on older and slower hardware, some tests
|
---|
| 127 | can fail because of test timeouts being exceeded.</para></listitem>
|
---|
| 128 | </itemizedlist>
|
---|
| 129 |
|
---|
| 130 | <para>Though it is a harmless message, the install stage of Glibc will
|
---|
| 131 | complain about the absence of <filename>/etc/ld.so.conf</filename>.
|
---|
| 132 | Prevent this warning with:</para>
|
---|
[1caa48e] | 133 |
|
---|
| 134 | <screen><userinput>touch /etc/ld.so.conf</userinput></screen>
|
---|
| 135 |
|
---|
[81fd230] | 136 | <para>Install the package:</para>
|
---|
[73aedd1d] | 137 |
|
---|
| 138 | <screen><userinput>make install</userinput></screen>
|
---|
| 139 |
|
---|
[81fd230] | 140 | <para>The locales that can make the system respond in a different
|
---|
| 141 | language were not installed by the above command. Install this
|
---|
| 142 | with:</para>
|
---|
[73aedd1d] | 143 |
|
---|
| 144 | <screen><userinput>make localedata/install-locales</userinput></screen>
|
---|
| 145 |
|
---|
[81fd230] | 146 | <para>To save time, an alternative to running the
|
---|
| 147 | previous command (which generates and installs every locale Glibc is
|
---|
| 148 | aware of) is to install only those locales that are wanted and needed.
|
---|
| 149 | This can be achieved by using the <command>localedef</command>
|
---|
| 150 | command. Information on this command is located in the
|
---|
| 151 | <filename>INSTALL</filename> file in the Glibc source. However, there
|
---|
| 152 | are a number of locales that are essential in order for the tests of
|
---|
| 153 | future packages to pass, in particular, the
|
---|
| 154 | <emphasis>libstdc++</emphasis> tests from GCC. The following
|
---|
| 155 | instructions, instead of the <parameter>install-locales</parameter>
|
---|
| 156 | target used above, will install the minimum set of locales necessary
|
---|
[3f0c882] | 157 | for the tests to run successfully:</para>
|
---|
| 158 |
|
---|
[ad9b084] | 159 | <screen><userinput>mkdir -p /usr/lib/locale
|
---|
[73aedd1d] | 160 | localedef -i de_DE -f ISO-8859-1 de_DE
|
---|
| 161 | localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
|
---|
| 162 | localedef -i en_HK -f ISO-8859-1 en_HK
|
---|
| 163 | localedef -i en_PH -f ISO-8859-1 en_PH
|
---|
| 164 | localedef -i en_US -f ISO-8859-1 en_US
|
---|
| 165 | localedef -i es_MX -f ISO-8859-1 es_MX
|
---|
[673b0d8] | 166 | localedef -i fa_IR -f UTF-8 fa_IR
|
---|
[73aedd1d] | 167 | localedef -i fr_FR -f ISO-8859-1 fr_FR
|
---|
| 168 | localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
|
---|
| 169 | localedef -i it_IT -f ISO-8859-1 it_IT
|
---|
| 170 | localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
|
---|
| 171 |
|
---|
[81fd230] | 172 | <para>Some locales installed by the <command>make
|
---|
| 173 | localedata/install-locales</command> command above are not properly
|
---|
| 174 | supported by some applications that are in the LFS and BLFS books.
|
---|
| 175 | Because of the various problems that arise due to application
|
---|
| 176 | programmers making assumptions that break in such locales, LFS should
|
---|
| 177 | not be used in locales that utilize multibyte character sets
|
---|
| 178 | (including UTF-8) or right-to-left writing order. Numerous unofficial
|
---|
| 179 | and unstable patches are required to fix these problems, and it has
|
---|
| 180 | been decided by the LFS developers not to support such complex locales. This applies to the
|
---|
| 181 | ja_JP and fa_IR locales as well—they have been installed only for
|
---|
| 182 | GCC and Gettext tests to pass, and the <command>watch</command> program
|
---|
| 183 | (part of the Procps package) does not work properly in them. Various
|
---|
| 184 | attempts to circumvent these restrictions are documented in
|
---|
| 185 | internationalization-related hints.</para>
|
---|
| 186 |
|
---|
| 187 | <para>Build the linuxthreads man pages, which are a great reference
|
---|
| 188 | on the threading API (applicable to NPTL as well):</para>
|
---|
[73aedd1d] | 189 |
|
---|
[9dfc02f] | 190 | <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
|
---|
[73aedd1d] | 191 |
|
---|
[81fd230] | 192 | <para>Install these pages:</para>
|
---|
[73aedd1d] | 193 |
|
---|
[9dfc02f] | 194 | <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen>
|
---|
[73aedd1d] | 195 |
|
---|
| 196 | </sect2>
|
---|
[5888299] | 197 |
|
---|
[8c16bf7] | 198 | <sect2 id="conf-glibc" role="configuration"><title>Configuring Glibc</title>
|
---|
[81fd230] | 199 | <indexterm zone="conf-glibc"><primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary></indexterm>
|
---|
| 200 | <indexterm zone="conf-glibc"><primary sortas="e-/etc/localtime">/etc/localtime</primary></indexterm>
|
---|
| 201 |
|
---|
[2645ec6] | 202 | <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
|
---|
| 203 | because, although Glibc provides defaults when this file is missing or corrupt,
|
---|
| 204 | the Glibc defaults do not work well in a networked environment. The time zone
|
---|
| 205 | also needs to be configured.</para>
|
---|
[342b176] | 206 |
|
---|
| 207 | <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
|
---|
| 208 | following:</para>
|
---|
| 209 |
|
---|
[bb55064] | 210 | <screen><userinput>cat > /etc/nsswitch.conf << "EOF"
|
---|
[d72e04a] | 211 | <literal># Begin /etc/nsswitch.conf
|
---|
[342b176] | 212 |
|
---|
| 213 | passwd: files
|
---|
| 214 | group: files
|
---|
| 215 | shadow: files
|
---|
| 216 |
|
---|
| 217 | hosts: files dns
|
---|
| 218 | networks: files
|
---|
| 219 |
|
---|
[4a80bec] | 220 | protocols: files
|
---|
| 221 | services: files
|
---|
| 222 | ethers: files
|
---|
| 223 | rpc: files
|
---|
[342b176] | 224 |
|
---|
[d72e04a] | 225 | # End /etc/nsswitch.conf</literal>
|
---|
[bb55064] | 226 | EOF</userinput></screen>
|
---|
[342b176] | 227 |
|
---|
[81fd230] | 228 | <para>To determine the local time zone, run the following script:</para>
|
---|
[342b176] | 229 |
|
---|
| 230 | <screen><userinput>tzselect</userinput></screen>
|
---|
| 231 |
|
---|
[81fd230] | 232 | <para>After answering a few questions about the location, the script
|
---|
| 233 | will output the name of the time zone (e.g.,
|
---|
| 234 | <emphasis>EST5EDT</emphasis> or <emphasis>Canada/Eastern</emphasis>).
|
---|
| 235 | Then create the <filename>/etc/localtime</filename> file by
|
---|
| 236 | running:</para>
|
---|
[342b176] | 237 |
|
---|
[3f0c882] | 238 | <screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
|
---|
| 239 | /etc/localtime</userinput></screen>
|
---|
[342b176] | 240 |
|
---|
[2645ec6] | 241 | <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
|
---|
| 242 | that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
|
---|
[81fd230] | 243 |
|
---|
| 244 | <para>The meaning of the cp option:</para>
|
---|
| 245 |
|
---|
| 246 | <variablelist>
|
---|
| 247 | <varlistentry>
|
---|
| 248 | <term><parameter>--remove-destination</parameter></term>
|
---|
| 249 | <listitem><para>This is needed to force removal of the already
|
---|
| 250 | existing symbolic link. The reason for copying the file instead of
|
---|
| 251 | using a symlink is to cover the situation where <filename
|
---|
| 252 | class="directory">/usr</filename> is on a separate partition. This
|
---|
| 253 | could be important when booted into single user
|
---|
| 254 | mode.</para></listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 | </variablelist>
|
---|
| 257 |
|
---|
[342b176] | 258 | </sect2>
|
---|
| 259 |
|
---|
| 260 |
|
---|
[8c16bf7] | 261 | <sect2 id="conf-ld" role="configuration">
|
---|
[342b176] | 262 | <title>Configuring Dynamic Loader</title>
|
---|
[81fd230] | 263 | <indexterm zone="conf-ld"><primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary></indexterm>
|
---|
| 264 |
|
---|
| 265 | <para>By default, the dynamic loader (<filename
|
---|
| 266 | class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
|
---|
| 267 | <filename class="directory">/lib</filename> and <filename
|
---|
| 268 | class="directory">/usr/lib</filename> for dynamic libraries that are
|
---|
| 269 | needed by programs as they are run. However, if there are libraries in
|
---|
| 270 | directories other than <filename class="directory">/lib</filename> and
|
---|
| 271 | <filename class="directory">/usr/lib</filename>, these need to be
|
---|
| 272 | added to the <filename>/etc/ld.so.conf</filename> file in order
|
---|
| 273 | for the dynamic loader to find them. Two directories that are commonly
|
---|
| 274 | known to contain additional libraries are <filename
|
---|
| 275 | class="directory">/usr/local/lib</filename> and <filename
|
---|
| 276 | class="directory">/opt/lib</filename>, so add those directories to the
|
---|
| 277 | dynamic loader's search path.</para>
|
---|
[342b176] | 278 |
|
---|
| 279 | <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
|
---|
| 280 | following:</para>
|
---|
| 281 |
|
---|
[bb55064] | 282 | <screen><userinput>cat > /etc/ld.so.conf << "EOF"
|
---|
[d72e04a] | 283 | <literal># Begin /etc/ld.so.conf
|
---|
[342b176] | 284 |
|
---|
| 285 | /usr/local/lib
|
---|
| 286 | /opt/lib
|
---|
| 287 |
|
---|
[d72e04a] | 288 | # End /etc/ld.so.conf</literal>
|
---|
[bb55064] | 289 | EOF</userinput></screen>
|
---|
[342b176] | 290 |
|
---|
| 291 | </sect2>
|
---|
[5888299] | 292 |
|
---|
[c6cb3aa] | 293 | <sect2 id="contents-glibc" role="content"><title>Contents of Glibc</title>
|
---|
[673b0d8] | 294 |
|
---|
[81fd230] | 295 | <segmentedlist>
|
---|
| 296 | <segtitle>Installed programs</segtitle>
|
---|
| 297 | <segtitle>Installed libraries</segtitle>
|
---|
| 298 | <seglistitem><seg>catchsegv, gencat, getconf,
|
---|
| 299 | getent, iconv, iconvconfig, ldconfig, ldd, lddlibc4, locale,
|
---|
| 300 | localedef, mtrace, nscd, nscd_nischeck, pcprofiledump, pt_chown, rpcgen,
|
---|
| 301 | rpcinfo, sln, sprof, tzselect, xtrace, zdump, and zic</seg>
|
---|
| 302 | <seg>ld.so, libBrokenLocale.[a,so],
|
---|
| 303 | libSegFault.so, libanl.[a,so], libbsd-compat.a, libc.[a,so],
|
---|
| 304 | libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so], libmcheck.a,
|
---|
| 305 | libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so, libnss_files.so,
|
---|
| 306 | libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so, libpcprofile.so,
|
---|
| 307 | libpthread.[a,so], libresolv.[a,so], librpcsvc.a, librt.[a,so],
|
---|
| 308 | libthread_db.so, and libutil.[a,so]</seg></seglistitem>
|
---|
| 309 | </segmentedlist>
|
---|
| 310 |
|
---|
| 311 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 312 | <?dbfo list-presentation="list"?>
|
---|
[bab5592] | 313 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 314 |
|
---|
| 315 | <varlistentry id="catchsegv">
|
---|
| 316 | <term><command>catchsegv</command></term>
|
---|
| 317 | <listitem>
|
---|
| 318 | <para>Can be used to create a stack trace when a program
|
---|
| 319 | terminates with a segmentation fault</para>
|
---|
| 320 | <indexterm zone="ch-system-glibc catchsegv"><primary sortas="b-catchsegv">catchsegv</primary></indexterm>
|
---|
| 321 | </listitem>
|
---|
| 322 | </varlistentry>
|
---|
| 323 |
|
---|
| 324 | <varlistentry id="gencat">
|
---|
| 325 | <term><command>gencat</command></term>
|
---|
| 326 | <listitem>
|
---|
| 327 | <para>Generates message catalogues</para>
|
---|
| 328 | <indexterm zone="ch-system-glibc gencat"><primary sortas="b-gencat">gencat</primary></indexterm>
|
---|
| 329 | </listitem>
|
---|
| 330 | </varlistentry>
|
---|
| 331 |
|
---|
| 332 | <varlistentry id="getconf">
|
---|
| 333 | <term><command>getconf</command></term>
|
---|
| 334 | <listitem>
|
---|
| 335 | <para>Displays the system configuration values for file system specific variables</para>
|
---|
| 336 | <indexterm zone="ch-system-glibc getconf"><primary sortas="b-getconf">getconf</primary></indexterm>
|
---|
| 337 | </listitem>
|
---|
| 338 | </varlistentry>
|
---|
| 339 |
|
---|
| 340 | <varlistentry id="getent">
|
---|
| 341 | <term><command>getent</command></term>
|
---|
| 342 | <listitem>
|
---|
| 343 | <para>Gets entries from an administrative database</para>
|
---|
| 344 | <indexterm zone="ch-system-glibc getent"><primary sortas="b-getent">getent</primary></indexterm>
|
---|
| 345 | </listitem>
|
---|
| 346 | </varlistentry>
|
---|
| 347 |
|
---|
| 348 | <varlistentry id="iconv">
|
---|
| 349 | <term><command>iconv</command></term>
|
---|
| 350 | <listitem>
|
---|
| 351 | <para>Performs character set conversion</para>
|
---|
| 352 | <indexterm zone="ch-system-glibc iconv"><primary sortas="b-iconv">iconv</primary></indexterm>
|
---|
| 353 | </listitem>
|
---|
| 354 | </varlistentry>
|
---|
| 355 |
|
---|
| 356 | <varlistentry id="iconvconfig">
|
---|
| 357 | <term><command>iconvconfig</command></term>
|
---|
| 358 | <listitem>
|
---|
| 359 | <para>Creates fastloading <command>iconv</command> module configuration files</para>
|
---|
| 360 | <indexterm zone="ch-system-glibc iconvconfig"><primary sortas="b-iconvconfig">iconvconfig</primary></indexterm>
|
---|
| 361 | </listitem>
|
---|
| 362 | </varlistentry>
|
---|
| 363 |
|
---|
| 364 | <varlistentry id="ldconfig">
|
---|
| 365 | <term><command>ldconfig</command></term>
|
---|
| 366 | <listitem>
|
---|
| 367 | <para>Configures the dynamic linker runtime bindings</para>
|
---|
| 368 | <indexterm zone="ch-system-glibc ldconfig"><primary sortas="b-ldconfig">ldconfig</primary></indexterm>
|
---|
| 369 | </listitem>
|
---|
| 370 | </varlistentry>
|
---|
| 371 |
|
---|
| 372 | <varlistentry id="ldd">
|
---|
| 373 | <term><command>ldd</command></term>
|
---|
| 374 | <listitem>
|
---|
| 375 | <para>Reports which shared libraries are required
|
---|
| 376 | by each given program or shared library</para>
|
---|
| 377 | <indexterm zone="ch-system-glibc ldd"><primary sortas="b-ldd">ldd</primary></indexterm>
|
---|
| 378 | </listitem>
|
---|
| 379 | </varlistentry>
|
---|
| 380 |
|
---|
| 381 | <varlistentry id="lddlibc4">
|
---|
| 382 | <term><command>lddlibc4</command></term>
|
---|
| 383 | <listitem>
|
---|
| 384 | <para>Assists <command>ldd</command> with object files</para>
|
---|
| 385 | <indexterm zone="ch-system-glibc lddlibc4"><primary sortas="b-lddlibc4">lddlibc4</primary></indexterm>
|
---|
| 386 | </listitem>
|
---|
| 387 | </varlistentry>
|
---|
| 388 |
|
---|
| 389 | <varlistentry id="locale">
|
---|
| 390 | <term><command>locale</command></term>
|
---|
| 391 | <listitem>
|
---|
| 392 | <para>Tells the compiler to enable or disable the use of POSIX locales
|
---|
| 393 | for built-in operations</para>
|
---|
| 394 | <indexterm zone="ch-system-glibc locale"><primary sortas="b-locale">locale</primary></indexterm>
|
---|
| 395 | </listitem>
|
---|
| 396 | </varlistentry>
|
---|
| 397 |
|
---|
| 398 | <varlistentry id="localedef">
|
---|
| 399 | <term><command>localedef</command></term>
|
---|
| 400 | <listitem>
|
---|
| 401 | <para>Compiles locale specifications</para>
|
---|
| 402 | <indexterm zone="ch-system-glibc localedef"><primary sortas="b-localedef">localedef</primary></indexterm>
|
---|
| 403 | </listitem>
|
---|
| 404 | </varlistentry>
|
---|
| 405 |
|
---|
| 406 | <varlistentry id="mtrace">
|
---|
| 407 | <term><command>mtrace</command></term>
|
---|
| 408 | <listitem>
|
---|
[bc2136e] | 409 | <para>Reads and interprets a memory trace file and displays a summary in human-readable format</para>
|
---|
[81fd230] | 410 | <indexterm zone="ch-system-glibc mtrace"><primary sortas="b-mtrace">mtrace</primary></indexterm>
|
---|
| 411 | </listitem>
|
---|
| 412 | </varlistentry>
|
---|
| 413 |
|
---|
| 414 | <varlistentry id="nscd">
|
---|
| 415 | <term><command>nscd</command></term>
|
---|
| 416 | <listitem>
|
---|
| 417 | <para>A daemon that provides a cache for the most common name
|
---|
| 418 | service requests</para>
|
---|
| 419 | <indexterm zone="ch-system-glibc nscd"><primary sortas="b-nscd">nscd</primary></indexterm>
|
---|
| 420 | </listitem>
|
---|
| 421 | </varlistentry>
|
---|
| 422 |
|
---|
| 423 | <varlistentry id="nscd_nischeck">
|
---|
| 424 | <term><command>nscd_nischeck</command></term>
|
---|
| 425 | <listitem>
|
---|
| 426 | <para>Checks whether or not secure mode is necessary for NIS+ lookup</para>
|
---|
| 427 | <indexterm zone="ch-system-glibc nscd_nischeck"><primary sortas="b-nscd_nischeck">nscd_nischeck</primary></indexterm>
|
---|
| 428 | </listitem>
|
---|
| 429 | </varlistentry>
|
---|
| 430 |
|
---|
| 431 | <varlistentry id="pcprofiledump">
|
---|
| 432 | <term><command>pcprofiledump</command></term>
|
---|
| 433 | <listitem>
|
---|
| 434 | <para>Dumps information generated by PC profiling</para>
|
---|
| 435 | <indexterm zone="ch-system-glibc pcprofiledump"><primary sortas="b-pcprofiledump">pcprofiledump</primary></indexterm>
|
---|
| 436 | </listitem>
|
---|
| 437 | </varlistentry>
|
---|
| 438 |
|
---|
| 439 | <varlistentry id="pt_chown">
|
---|
| 440 | <term><command>pt_chown</command></term>
|
---|
| 441 | <listitem>
|
---|
| 442 | <para>A helper program for <command>grantpt</command> to set
|
---|
| 443 | the owner, group and access permissions of a slave pseudo terminal</para>
|
---|
| 444 | <indexterm zone="ch-system-glibc pt_chown"><primary sortas="b-pt_chown">pt_chown</primary></indexterm>
|
---|
| 445 | </listitem>
|
---|
| 446 | </varlistentry>
|
---|
| 447 |
|
---|
| 448 | <varlistentry id="rpcgen">
|
---|
| 449 | <term><command>rpcgen</command></term>
|
---|
| 450 | <listitem>
|
---|
| 451 | <para>Generates C code to implement the Remote Procecure Call (RPC) protocol</para>
|
---|
| 452 | <indexterm zone="ch-system-glibc rpcgen"><primary sortas="b-rpcgen">rpcgen</primary></indexterm>
|
---|
| 453 | </listitem>
|
---|
| 454 | </varlistentry>
|
---|
| 455 |
|
---|
| 456 | <varlistentry id="rpcinfo">
|
---|
| 457 | <term><command>rpcinfo</command></term>
|
---|
| 458 | <listitem>
|
---|
| 459 | <para>Makes an RPC call to an RPC server</para>
|
---|
| 460 | <indexterm zone="ch-system-glibc rpcinfo"><primary sortas="b-rpcinfo">rpcinfo</primary></indexterm>
|
---|
| 461 | </listitem>
|
---|
| 462 | </varlistentry>
|
---|
| 463 |
|
---|
| 464 | <varlistentry id="sln">
|
---|
| 465 | <term><command>sln</command></term>
|
---|
| 466 | <listitem>
|
---|
| 467 | <para>A statically linked <command>ln</command> program</para>
|
---|
| 468 | <indexterm zone="ch-system-glibc sln"><primary sortas="b-sln">sln</primary></indexterm>
|
---|
| 469 | </listitem>
|
---|
| 470 | </varlistentry>
|
---|
| 471 |
|
---|
| 472 | <varlistentry id="sprof">
|
---|
| 473 | <term><command>sprof</command></term>
|
---|
| 474 | <listitem>
|
---|
| 475 | <para>Reads and displays shared object profiling data</para>
|
---|
| 476 | <indexterm zone="ch-system-glibc sprof"><primary sortas="b-sprof">sprof</primary></indexterm>
|
---|
| 477 | </listitem>
|
---|
| 478 | </varlistentry>
|
---|
| 479 |
|
---|
| 480 | <varlistentry id="tzselect">
|
---|
| 481 | <term><command>tzselect</command></term>
|
---|
| 482 | <listitem>
|
---|
| 483 | <para>Asks the user about the location of the
|
---|
| 484 | system and reports the corresponding time zone description</para>
|
---|
| 485 | <indexterm zone="ch-system-glibc tzselect"><primary sortas="b-tzselect">tzselect</primary></indexterm>
|
---|
| 486 | </listitem>
|
---|
| 487 | </varlistentry>
|
---|
| 488 |
|
---|
| 489 | <varlistentry id="xtrace">
|
---|
| 490 | <term><command>xtrace</command></term>
|
---|
| 491 | <listitem>
|
---|
| 492 | <para>Traces the execution of a program by
|
---|
| 493 | printing the currently executed function</para>
|
---|
| 494 | <indexterm zone="ch-system-glibc xtrace"><primary sortas="b-xtrace">xtrace</primary></indexterm>
|
---|
| 495 | </listitem>
|
---|
| 496 | </varlistentry>
|
---|
| 497 |
|
---|
| 498 | <varlistentry id="zdump">
|
---|
| 499 | <term><command>zdump</command></term>
|
---|
| 500 | <listitem>
|
---|
| 501 | <para>The time zone dumper</para>
|
---|
| 502 | <indexterm zone="ch-system-glibc zdump"><primary sortas="b-zdump">zdump</primary></indexterm>
|
---|
| 503 | </listitem>
|
---|
| 504 | </varlistentry>
|
---|
| 505 |
|
---|
| 506 | <varlistentry id="zic">
|
---|
| 507 | <term><command>zic</command></term>
|
---|
| 508 | <listitem>
|
---|
| 509 | <para>The time zone compiler</para>
|
---|
| 510 | <indexterm zone="ch-system-glibc zic"><primary sortas="b-zic">zic</primary></indexterm>
|
---|
| 511 | </listitem>
|
---|
| 512 | </varlistentry>
|
---|
| 513 |
|
---|
| 514 | <varlistentry id="ld.so">
|
---|
| 515 | <term><filename class="libraryfile">ld.so</filename></term>
|
---|
| 516 | <listitem>
|
---|
| 517 | <para>The helper program for shared library executables</para>
|
---|
| 518 | <indexterm zone="ch-system-glibc ld.so"><primary sortas="c-ld.so">ld.so</primary></indexterm>
|
---|
| 519 | </listitem>
|
---|
| 520 | </varlistentry>
|
---|
| 521 |
|
---|
| 522 | <varlistentry id="libBrokenLocale">
|
---|
| 523 | <term><filename class="libraryfile">libBrokenLocale</filename></term>
|
---|
| 524 | <listitem>
|
---|
| 525 | <para>Used by programs, such as Mozilla, to solve broken locales</para>
|
---|
| 526 | <indexterm zone="ch-system-glibc libBrokenLocale"><primary sortas="c-libBrokenLocale">libBrokenLocale</primary></indexterm>
|
---|
| 527 | </listitem>
|
---|
| 528 | </varlistentry>
|
---|
| 529 |
|
---|
| 530 | <varlistentry id="libSegFault">
|
---|
| 531 | <term><filename class="libraryfile">libSegFault</filename></term>
|
---|
| 532 | <listitem>
|
---|
| 533 | <para>The segmentation fault signal handler</para>
|
---|
| 534 | <indexterm zone="ch-system-glibc libSegFault"><primary sortas="c-libSegFault">libSegFault</primary></indexterm>
|
---|
| 535 | </listitem>
|
---|
| 536 | </varlistentry>
|
---|
| 537 |
|
---|
| 538 | <varlistentry id="libanl">
|
---|
| 539 | <term><filename class="libraryfile">libanl</filename></term>
|
---|
| 540 | <listitem>
|
---|
| 541 | <para>An asynchronous name lookup library</para>
|
---|
| 542 | <indexterm zone="ch-system-glibc libanl"><primary sortas="c-libanl">libanl</primary></indexterm>
|
---|
| 543 | </listitem>
|
---|
| 544 | </varlistentry>
|
---|
| 545 |
|
---|
| 546 | <varlistentry id="libbsd-compat">
|
---|
| 547 | <term><filename class="libraryfile">libbsd-compat</filename></term>
|
---|
| 548 | <listitem>
|
---|
| 549 | <para>Provides the portability needed
|
---|
| 550 | in order to run certain Berkey Software Distribution (BSD) programs under Linux</para>
|
---|
| 551 | <indexterm zone="ch-system-glibc libbsd-compat"><primary sortas="c-libbsd-compat">libbsd-compat</primary></indexterm>
|
---|
| 552 | </listitem>
|
---|
| 553 | </varlistentry>
|
---|
| 554 |
|
---|
| 555 | <varlistentry id="libc">
|
---|
| 556 | <term><filename class="libraryfile">libc</filename></term>
|
---|
| 557 | <listitem>
|
---|
| 558 | <para>The main C library</para>
|
---|
| 559 | <indexterm zone="ch-system-glibc libc"><primary sortas="c-libc">libc</primary></indexterm>
|
---|
| 560 | </listitem>
|
---|
| 561 | </varlistentry>
|
---|
| 562 |
|
---|
| 563 | <varlistentry id="libcrypt">
|
---|
| 564 | <term><filename class="libraryfile">libcrypt</filename></term>
|
---|
| 565 | <listitem>
|
---|
| 566 | <para>The cryptography library</para>
|
---|
| 567 | <indexterm zone="ch-system-glibc libcrypt"><primary sortas="c-libcrypt">libcrypt</primary></indexterm>
|
---|
| 568 | </listitem>
|
---|
| 569 | </varlistentry>
|
---|
| 570 |
|
---|
| 571 | <varlistentry id="libdl">
|
---|
| 572 | <term><filename class="libraryfile">libdl</filename></term>
|
---|
| 573 | <listitem>
|
---|
| 574 | <para>The dynamic linking interface library</para>
|
---|
| 575 | <indexterm zone="ch-system-glibc libdl"><primary sortas="c-libdl">libdl</primary></indexterm>
|
---|
| 576 | </listitem>
|
---|
| 577 | </varlistentry>
|
---|
| 578 |
|
---|
| 579 | <varlistentry id="libg">
|
---|
| 580 | <term><filename class="libraryfile">libg</filename></term>
|
---|
| 581 | <listitem>
|
---|
| 582 | <para>A runtime library for <command>g++</command></para>
|
---|
| 583 | <indexterm zone="ch-system-glibc libg"><primary sortas="c-libg">libg</primary></indexterm>
|
---|
| 584 | </listitem>
|
---|
| 585 | </varlistentry>
|
---|
| 586 |
|
---|
| 587 | <varlistentry id="libieee">
|
---|
| 588 | <term><filename class="libraryfile">libieee</filename></term>
|
---|
| 589 | <listitem>
|
---|
| 590 | <para>The Institute of Electrical and Electronic Engineers (IEEE) floating point library</para>
|
---|
| 591 | <indexterm zone="ch-system-glibc libieee"><primary sortas="c-libieee">libieee</primary></indexterm>
|
---|
| 592 | </listitem>
|
---|
| 593 | </varlistentry>
|
---|
| 594 |
|
---|
| 595 | <varlistentry id="libm">
|
---|
| 596 | <term><filename class="libraryfile">libm</filename></term>
|
---|
| 597 | <listitem>
|
---|
| 598 | <para>The mathematical library</para>
|
---|
| 599 | <indexterm zone="ch-system-glibc libm"><primary sortas="c-libm">libm</primary></indexterm>
|
---|
| 600 | </listitem>
|
---|
| 601 | </varlistentry>
|
---|
| 602 |
|
---|
| 603 | <varlistentry id="libmcheck">
|
---|
| 604 | <term><filename class="libraryfile">libmcheck</filename></term>
|
---|
| 605 | <listitem>
|
---|
| 606 | <para>Contains code run at boot</para>
|
---|
| 607 | <indexterm zone="ch-system-glibc libmcheck"><primary sortas="c-libmcheck">libmcheck</primary></indexterm>
|
---|
| 608 | </listitem>
|
---|
| 609 | </varlistentry>
|
---|
| 610 |
|
---|
| 611 | <varlistentry id="libmemusage">
|
---|
| 612 | <term><filename class="libraryfile">libmemusage</filename></term>
|
---|
| 613 | <listitem>
|
---|
| 614 | <para>Used by <command>memusage</command> to help collect
|
---|
| 615 | information about the memory usage of a program</para>
|
---|
| 616 | <indexterm zone="ch-system-glibc libmemusage"><primary sortas="c-libmemusage">libmemusage</primary></indexterm>
|
---|
| 617 | </listitem>
|
---|
| 618 | </varlistentry>
|
---|
| 619 |
|
---|
| 620 | <varlistentry id="libnsl">
|
---|
| 621 | <term><filename class="libraryfile">libnsl</filename></term>
|
---|
| 622 | <listitem>
|
---|
| 623 | <para>The network services library</para>
|
---|
| 624 | <indexterm zone="ch-system-glibc libnsl"><primary sortas="c-libnsl">libnsl</primary></indexterm>
|
---|
| 625 | </listitem>
|
---|
| 626 | </varlistentry>
|
---|
| 627 |
|
---|
| 628 | <varlistentry id="libnss">
|
---|
| 629 | <term><filename class="libraryfile">libnss</filename></term>
|
---|
| 630 | <listitem>
|
---|
| 631 | <para>The Name Service Switch libraries,
|
---|
| 632 | containing functions for resolving host names, user names, group names,
|
---|
[bc2136e] | 633 | aliases, services, protocols, etc.</para>
|
---|
[81fd230] | 634 | <indexterm zone="ch-system-glibc libnss"><primary sortas="c-libnss">libnss</primary></indexterm>
|
---|
| 635 | </listitem>
|
---|
| 636 | </varlistentry>
|
---|
| 637 |
|
---|
| 638 | <varlistentry id="libpcprofile">
|
---|
| 639 | <term><filename class="libraryfile">libpcprofile</filename></term>
|
---|
| 640 | <listitem>
|
---|
| 641 | <para>Contains profiling functions used
|
---|
| 642 | to track the amount of CPU time spent in specific source code lines</para>
|
---|
| 643 | <indexterm zone="ch-system-glibc libpcprofile"><primary sortas="c-libpcprofile">libpcprofile</primary></indexterm>
|
---|
| 644 | </listitem>
|
---|
| 645 | </varlistentry>
|
---|
| 646 |
|
---|
| 647 | <varlistentry id="libpthread">
|
---|
| 648 | <term><filename class="libraryfile">libpthread</filename></term>
|
---|
| 649 | <listitem>
|
---|
| 650 | <para>The POSIX threads library</para>
|
---|
| 651 | <indexterm zone="ch-system-glibc libpthread"><primary sortas="c-libpthread">libpthread</primary></indexterm>
|
---|
| 652 | </listitem>
|
---|
| 653 | </varlistentry>
|
---|
| 654 |
|
---|
| 655 | <varlistentry id="libresolv">
|
---|
| 656 | <term><filename class="libraryfile">libresolv</filename></term>
|
---|
| 657 | <listitem>
|
---|
| 658 | <para>Contains functions for creating,
|
---|
| 659 | sending, and interpreting packets to the Internet domain name servers</para>
|
---|
| 660 | <indexterm zone="ch-system-glibc libresolv"><primary sortas="c-libresolv">libresolv</primary></indexterm>
|
---|
| 661 | </listitem>
|
---|
| 662 | </varlistentry>
|
---|
| 663 |
|
---|
| 664 | <varlistentry id="librpcsvc">
|
---|
| 665 | <term><filename class="libraryfile">librpcsvc</filename></term>
|
---|
| 666 | <listitem>
|
---|
| 667 | <para>Contains functions providing miscellaneous RPC services</para>
|
---|
| 668 | <indexterm zone="ch-system-glibc librpcsvc"><primary sortas="c-librpcsvc">librpcsvc</primary></indexterm>
|
---|
| 669 | </listitem>
|
---|
| 670 | </varlistentry>
|
---|
| 671 |
|
---|
| 672 | <varlistentry id="librt">
|
---|
| 673 | <term><filename class="libraryfile">librt</filename></term>
|
---|
| 674 | <listitem>
|
---|
| 675 | <para>Contains functions providing most of the
|
---|
| 676 | interfaces specified by the POSIX.1b Realtime Extension</para>
|
---|
| 677 | <indexterm zone="ch-system-glibc librt"><primary sortas="c-librt">librt</primary></indexterm>
|
---|
| 678 | </listitem>
|
---|
| 679 | </varlistentry>
|
---|
| 680 |
|
---|
| 681 | <varlistentry id="libthread_db">
|
---|
| 682 | <term><filename class="libraryfile">libthread_db</filename></term>
|
---|
| 683 | <listitem>
|
---|
| 684 | <para>Contains functions useful for
|
---|
| 685 | building debuggers for multi-threaded programs</para>
|
---|
| 686 | <indexterm zone="ch-system-glibc libthread_db"><primary sortas="c-libthread_db">libthread_db</primary></indexterm>
|
---|
| 687 | </listitem>
|
---|
| 688 | </varlistentry>
|
---|
| 689 |
|
---|
| 690 | <varlistentry id="libutil">
|
---|
| 691 | <term><filename class="libraryfile">libutil</filename></term>
|
---|
| 692 | <listitem>
|
---|
| 693 | <para>Contains code for <quote>standard</quote> functions used in many different Unix utilities</para>
|
---|
| 694 | <indexterm zone="ch-system-glibc libutil"><primary sortas="c-libutil">libutil</primary></indexterm>
|
---|
| 695 | </listitem>
|
---|
| 696 | </varlistentry>
|
---|
| 697 | </variablelist>
|
---|
[673b0d8] | 698 |
|
---|
| 699 | </sect2>
|
---|
| 700 |
|
---|
| 701 | </sect1>
|
---|
[81fd230] | 702 |
|
---|