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