source: BOOK/final-system/common/eglibc.xml @ 2b220db9

clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 2b220db9 was 2b220db9, checked in by Chris Staub <chris@…>, 11 years ago

Updates to installed programs lists

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