source: BOOK/final-system/common/eglibc.xml@ 7d0fe7c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7d0fe7c was 188b6b2, checked in by Chris Staub <chris@…>, 15 years ago

Updated lists of installed programs and libraries.

  • Property mode set to 100644
File size: 30.8 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[093b0e8]8<sect1 id="ch-system-eglibc" role="wrap">
9 <?dbhtml filename="eglibc.html"?>
[3f8be484]10
[093b0e8]11 <title>EGLIBC-&eglibc-version;</title>
[3f8be484]12
[093b0e8]13 <indexterm zone="ch-system-eglibc">
14 <primary sortas="a-EGLIBC">EGLIBC</primary>
[3f8be484]15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
[093b0e8]20 <para>The EGLIBC package contains the main C library. This library provides
[3f8be484]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">
[093b0e8]28 <title>Installation of EGLIBC</title>
[3f8be484]29
30 <note os="z">
[a1fb12f]31 <para>Some packages outside of CLFS suggest installing GNU libiconv in
[3f8be484]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
[093b0e8]36 implementation cannot convert from/to Unicode.</quote> EGLIBC provides
[3f8be484]37 an <function>iconv()</function> implementation and can convert from/to
[a1fb12f]38 Unicode, therefore libiconv is not required on a CLFS system.</para>
[3f8be484]39 </note>
40
[d8f87e8]41 <para os="p1">EGLIBC has various issues addressed by the following patch:</para>
42
43<screen os="p2"><userinput>patch -Np1 -i ../&eglibc-fixes-patch;</userinput></screen>
44
[c0bc7c4]45 <para os="l3">The following sed makes sure that newly built EGLIBC is tested,
[d8f87e8]46 during make install, instead of the one we previously build:</para>
47
[c0bc7c4]48<screen os="l4"><userinput>LINKER=$(readelf -l $(file /tools/lib/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
[d8f87e8]49sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
50 scripts/test-installation.pl
51unset LINKER</userinput></screen>
52
[093b0e8]53 <para os="b">The EGLIBC build system is self-contained and will install
[3f8be484]54 perfectly, even though the compiler specs file and linker are still
55 pointing at <filename class="directory">/tools</filename>. The specs
[093b0e8]56 and linker cannot be adjusted before the EGLIBC install because the
57 EGLIBC Autoconf tests would give false results and defeat the goal
[3f8be484]58 of achieving a clean build.</para>
59
[093b0e8]60 <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the
[3f8be484]61 source directory in a dedicated build directory:</para>
62
[093b0e8]63<screen os="f"><userinput>mkdir -v ../eglibc-build
64cd ../eglibc-build</userinput></screen>
[3f8be484]65
[093b0e8]66 <para os="g">Prepare EGLIBC for compilation:</para>
[3f8be484]67
[093b0e8]68<screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \
[3f8be484]69 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
[093b0e8]70 --libexecdir=/usr/lib/eglibc</userinput></screen>
[3f8be484]71
72 <variablelist os="i">
73 <title>The meaning of the new configure option:</title>
74
75 <varlistentry>
[093b0e8]76 <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term>
[3f8be484]77 <listitem>
78 <para>This changes the location of the <command>pt_chown</command>
79 program from its default of <filename
80 class="directory">/usr/libexec</filename> to <filename
[093b0e8]81 class="directory">/usr/lib/eglibc</filename>.</para>
[3f8be484]82 </listitem>
83 </varlistentry>
84 </variablelist>
85
86 <para os="j">Compile the package:</para>
87
88<screen os="k"><userinput>make</userinput></screen>
89
90 <important os="l">
[093b0e8]91 <para>The test suite for EGLIBC is considered critical.
[3f8be484]92 Do not skip it under any circumstance.</para>
93 </important>
94
[d8f87e8]95 <para os="m">Before running the tests, copy a file from the source tree into our
96 build tree to prevent a couple of test failures, then run the tests:</para>
[3f8be484]97
98<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
99
[2026a2e]100<screen os="n"><userinput>cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
[d8f87e8]101make -k check &gt;eglibc-check-log 2&gt;&amp;1 ; grep Error eglibc-check-log</userinput></screen>
[3f8be484]102
[093b0e8]103 <para os="o">The EGLIBC test suite is highly dependent on certain functions of
[10b2850]104 the host system, in particular the kernel. The posix/annexc test normally fails
105 and you should see <literal>Error 1 (ignored)</literal> in the output. Apart
[093b0e8]106 from this, the EGLIBC test suite is always expected to pass. However, in certain
[10b2850]107 circumstances, some failures are unavoidable. If a test fails because of a missing
108 program (or missing symbolic link), or a segfault, you will see an error code
109 greater than 127 and the details will be in the log. More commonly, tests will
110 fail with <literal>Error 2</literal> - for these, the contents of the corresponding
111 <filename>.out</filename> file, e.g. <filename>posix/annexc.out</filename> may be
112 informative. Here is a list of the most common issues:</para>
[3f8be484]113
114 <itemizedlist os="p">
115 <listitem>
[3514708]116 <para>The <emphasis>math</emphasis> tests sometimes fail.
117 Certain optimization settings are known to be a
118 factor here.</para>
[3f8be484]119 </listitem>
120 <listitem>
[fb40919]121 <para>If you have mounted the CLFS partition with the
[3f8be484]122 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
123 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
124 do not use the <parameter>noatime</parameter> option while building
[fb40919]125 CLFS.</para>
[3f8be484]126 </listitem>
127 <listitem>
128 <para>When running on older and slower hardware, some tests
129 can fail because of test timeouts being exceeded.</para>
130 </listitem>
131 </itemizedlist>
132
[093b0e8]133 <para os="q">Though it is a harmless message, the install stage of EGLIBC will
[3f8be484]134 complain about the absence of <filename>/etc/ld.so.conf</filename>.
135 Prevent this warning with:</para>
136
137<screen os="r"><userinput>touch /etc/ld.so.conf</userinput></screen>
138
139 <para os="s">Install the package:</para>
140
141<screen os="t"><userinput>make install</userinput></screen>
142
143 </sect2>
144
[093b0e8]145 <sect2 id="i18n-eglibc" role="configuration">
[3f8be484]146 <title>Internationalization</title>
147
148 <para>The locales that can make the system respond in a different
[5a321cb]149 language were not installed by the above command. Install them
[3f8be484]150 with:</para>
151
152<screen><userinput>make localedata/install-locales</userinput></screen>
153
154 <para>To save time, an alternative to running the previous command (which
[643f8be]155 generates and installs every locale listed in the
[093b0e8]156 eglibc-&eglibc-version;/localedata/SUPPORTED file) is to install only
[3f8be484]157 those locales that are wanted and needed. This can be achieved by using
158 the <command>localedef</command> command. Information on this command is
[093b0e8]159 located in the <filename>INSTALL</filename> file in the EGLIBC source.
[3f8be484]160 However, there are a number of locales that are essential in order for the
161 tests of future packages to pass, in particular, the
162 <emphasis>libstdc++</emphasis> tests from GCC. The following instructions,
163 instead of the <parameter>install-locales</parameter> target used above,
164 will install the minimum set of locales necessary for the tests to run
165 successfully:</para>
166
[3a3e135]167<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
[8a10f1c]168localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
[3f8be484]169localedef -i de_DE -f ISO-8859-1 de_DE
170localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
171localedef -i en_HK -f ISO-8859-1 en_HK
172localedef -i en_PH -f ISO-8859-1 en_PH
173localedef -i en_US -f ISO-8859-1 en_US
174localedef -i es_MX -f ISO-8859-1 es_MX
175localedef -i fa_IR -f UTF-8 fa_IR
176localedef -i fr_FR -f ISO-8859-1 fr_FR
177localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
178localedef -i it_IT -f ISO-8859-1 it_IT
179localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
180
181 <para>Some locales installed by the <command>make
182 localedata/install-locales</command> command above are not properly
[e3a8717]183 supported by some applications that are in CLFS and CBLFS. Because
[3f8be484]184 of the various problems that arise due to application programmers making
[fb40919]185 assumptions that break in such locales, CLFS should not be used in locales
[3f8be484]186 that utilize multibyte character sets (including UTF-8) or right-to-left
187 writing order. Numerous unofficial and unstable patches are required to
[fb40919]188 fix these problems, and it has been decided by the CLFS developers not to
[643f8be]189 support such complex locales at this time. This applies to the ja_JP and
190 fa_IR locales as well&mdash;they have been installed only for GCC and
191 Gettext tests to pass, and the <command>watch</command> program (part of
192 the Procps package) does not work properly in them. Various attempts to
193 circumvent these restrictions are documented in internationalization-related
194 hints.</para>
[3f8be484]195
196 </sect2>
197
[093b0e8]198 <sect2 id="conf-eglibc" role="configuration">
199 <title>Configuring EGLIBC</title>
[3f8be484]200
[093b0e8]201 <indexterm zone="conf-eglibc">
[3f8be484]202 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
203 </indexterm>
204
[093b0e8]205 <indexterm zone="conf-eglibc">
[3f8be484]206 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
207 </indexterm>
208
209 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
[093b0e8]210 because, although EGLIBC provides defaults when this file is missing or
211 corrupt, the EGLIBC defaults do not work well in a networked environment.
[3f8be484]212 The time zone also needs to be configured.</para>
213
214 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running
215 the following:</para>
216
217<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
218<literal># Begin /etc/nsswitch.conf
219
220passwd: files
221group: files
222shadow: files
223
224hosts: files dns
225networks: files
226
227protocols: files
228services: files
229ethers: files
230rpc: files
231
232# End /etc/nsswitch.conf</literal>
233EOF</userinput></screen>
234
235 <para>To determine the local time zone, run the following script:</para>
236
[0f3854e]237<screen role="nodump"><userinput>tzselect</userinput></screen>
[3f8be484]238
239 <para>After answering a few questions about the location, the script will
240 output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
241 <emphasis>Canada/Eastern</emphasis>). Then create the
242 <filename>/etc/localtime</filename> file by running:</para>
243
[94e6142]244<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
[3f8be484]245 /etc/localtime</userinput></screen>
246
247 <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
248 that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
249
250 <variablelist>
251 <title>The meaning of the cp option:</title>
252
253 <varlistentry>
254 <term><parameter>--remove-destination</parameter></term>
255 <listitem>
256 <para>This is needed to force removal of the already existing symbolic
257 link. The reason for copying the file instead of using a symlink is to
258 cover the situation where <filename class="directory">/usr</filename>
259 is on a separate partition. This could be important when booted into
260 single user mode.</para>
261 </listitem>
262 </varlistentry>
263 </variablelist>
264
265 </sect2>
266
267 <sect2 id="conf-ld" role="configuration">
[0b637f1]268 <title>Configuring The Dynamic Loader</title>
[3f8be484]269
270 <indexterm zone="conf-ld">
271 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
272 </indexterm>
273
[3998188]274 <para os="ld-a">By default, the dynamic loader (<filename
[3f8be484]275 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
276 <filename class="directory">/lib</filename> and <filename
277 class="directory">/usr/lib</filename> for dynamic libraries that are
278 needed by programs as they are run. However, if there are libraries in
279 directories other than <filename class="directory">/lib</filename> and
280 <filename class="directory">/usr/lib</filename>, these need to be
281 added to the <filename>/etc/ld.so.conf</filename> file in order
282 for the dynamic loader to find them. Two directories that are commonly
283 known to contain additional libraries are <filename
284 class="directory">/usr/local/lib</filename> and <filename
285 class="directory">/opt/lib</filename>, so add those directories to the
286 dynamic loader's search path.</para>
287
[3998188]288 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
[3f8be484]289 following:</para>
290
[3998188]291<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[3f8be484]292<literal># Begin /etc/ld.so.conf
293
294/usr/local/lib
295/opt/lib
296
297# End /etc/ld.so.conf</literal>
298EOF</userinput></screen>
299
300 </sect2>
301
[093b0e8]302 <sect2 id="contents-eglibc" role="content">
303 <title>Contents of EGLIBC</title>
[3f8be484]304
305 <segmentedlist>
306 <segtitle>Installed programs</segtitle>
307 <segtitle>Installed libraries</segtitle>
308
309 <seglistitem>
310 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
[1e91bbd]311 ldd, lddlibc4, locale, localedef, mtrace, nscd,
[3f8be484]312 pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
313 zdump, and zic</seg>
314 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
[188b6b2]315 libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so],
316 libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so],
317 libmcheck.a, libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so,
318 libnss_files.so, libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so,
319 libpcprofile.so, libpthread.[a,so], libpthread_nonshared.a,
[3f8be484]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>
[093b0e8]335 <indexterm zone="ch-system-eglibc catchsegv">
[3f8be484]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>
[093b0e8]345 <indexterm zone="ch-system-eglibc gencat">
[3f8be484]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>
[093b0e8]356 <indexterm zone="ch-system-eglibc getconf">
[3f8be484]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>
[093b0e8]366 <indexterm zone="ch-system-eglibc getent">
[3f8be484]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>
[093b0e8]376 <indexterm zone="ch-system-eglibc iconv">
[3f8be484]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>
[093b0e8]387 <indexterm zone="ch-system-eglibc iconvconfig">
[3f8be484]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>
[093b0e8]397 <indexterm zone="ch-system-eglibc ldconfig">
[3f8be484]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>
[093b0e8]408 <indexterm zone="ch-system-eglibc ldd">
[3f8be484]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>
[093b0e8]418 <indexterm zone="ch-system-eglibc lddlibc4">
[3f8be484]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>
[093b0e8]429 <indexterm zone="ch-system-eglibc locale">
[3f8be484]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>
[093b0e8]439 <indexterm zone="ch-system-eglibc localedef">
[3f8be484]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>
[093b0e8]450 <indexterm zone="ch-system-eglibc mtrace">
[3f8be484]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>
[093b0e8]461 <indexterm zone="ch-system-eglibc nscd">
[3f8be484]462 <primary sortas="b-nscd">nscd</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="pcprofiledump">
468 <term><command>pcprofiledump</command></term>
469 <listitem>
470 <para>Dumps information generated by PC profiling</para>
[093b0e8]471 <indexterm zone="ch-system-eglibc pcprofiledump">
[3f8be484]472 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="pt_chown">
478 <term><command>pt_chown</command></term>
479 <listitem>
480 <para>A helper program for <command>grantpt</command> to set the owner,
481 group and access permissions of a slave pseudo terminal</para>
[093b0e8]482 <indexterm zone="ch-system-eglibc pt_chown">
[3f8be484]483 <primary sortas="b-pt_chown">pt_chown</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
488 <varlistentry id="rpcgen">
489 <term><command>rpcgen</command></term>
490 <listitem>
491 <para>Generates C code to implement the Remote Procecure Call (RPC)
492 protocol</para>
[093b0e8]493 <indexterm zone="ch-system-eglibc rpcgen">
[3f8be484]494 <primary sortas="b-rpcgen">rpcgen</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="rpcinfo">
500 <term><command>rpcinfo</command></term>
501 <listitem>
502 <para>Makes an RPC call to an RPC server</para>
[093b0e8]503 <indexterm zone="ch-system-eglibc rpcinfo">
[3f8be484]504 <primary sortas="b-rpcinfo">rpcinfo</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508
509 <varlistentry id="sln">
510 <term><command>sln</command></term>
511 <listitem>
[7087cbc]512 <para>A statically linked program that creates symbolic links</para>
[093b0e8]513 <indexterm zone="ch-system-eglibc sln">
[3f8be484]514 <primary sortas="b-sln">sln</primary>
515 </indexterm>
516 </listitem>
517 </varlistentry>
518
519 <varlistentry id="sprof">
520 <term><command>sprof</command></term>
521 <listitem>
522 <para>Reads and displays shared object profiling data</para>
[093b0e8]523 <indexterm zone="ch-system-eglibc sprof">
[3f8be484]524 <primary sortas="b-sprof">sprof</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
529 <varlistentry id="tzselect">
530 <term><command>tzselect</command></term>
531 <listitem>
532 <para>Asks the user about the location of the
533 system and reports the corresponding time zone description</para>
[093b0e8]534 <indexterm zone="ch-system-eglibc tzselect">
[3f8be484]535 <primary sortas="b-tzselect">tzselect</primary>
536 </indexterm>
537 </listitem>
538 </varlistentry>
539
540 <varlistentry id="xtrace">
541 <term><command>xtrace</command></term>
542 <listitem>
543 <para>Traces the execution of a program by
544 printing the currently executed function</para>
[093b0e8]545 <indexterm zone="ch-system-eglibc xtrace">
[3f8be484]546 <primary sortas="b-xtrace">xtrace</primary>
547 </indexterm>
548 </listitem>
549 </varlistentry>
550
551 <varlistentry id="zdump">
552 <term><command>zdump</command></term>
553 <listitem>
554 <para>The time zone dumper</para>
[093b0e8]555 <indexterm zone="ch-system-eglibc zdump">
[3f8be484]556 <primary sortas="b-zdump">zdump</primary>
557 </indexterm>
558 </listitem>
559 </varlistentry>
560
561 <varlistentry id="zic">
562 <term><command>zic</command></term>
563 <listitem>
564 <para>The time zone compiler</para>
[093b0e8]565 <indexterm zone="ch-system-eglibc zic">
[3f8be484]566 <primary sortas="b-zic">zic</primary>
567 </indexterm>
568 </listitem>
569 </varlistentry>
570
571 <varlistentry id="ld.so">
572 <term><filename class="libraryfile">ld.so</filename></term>
573 <listitem>
574 <para>The helper program for shared library executables</para>
[093b0e8]575 <indexterm zone="ch-system-eglibc ld.so">
[3f8be484]576 <primary sortas="c-ld.so">ld.so</primary>
577 </indexterm>
578 </listitem>
579 </varlistentry>
580
581 <varlistentry id="libBrokenLocale">
582 <term><filename class="libraryfile">libBrokenLocale</filename></term>
583 <listitem>
584 <para>Used by programs, such as Mozilla, to solve broken locales</para>
[093b0e8]585 <indexterm zone="ch-system-eglibc libBrokenLocale">
[3f8be484]586 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="libSegFault">
592 <term><filename class="libraryfile">libSegFault</filename></term>
593 <listitem>
594 <para>The segmentation fault signal handler</para>
[093b0e8]595 <indexterm zone="ch-system-eglibc libSegFault">
[3f8be484]596 <primary sortas="c-libSegFault">libSegFault</primary>
597 </indexterm>
598 </listitem>
599 </varlistentry>
600
601 <varlistentry id="libanl">
602 <term><filename class="libraryfile">libanl</filename></term>
603 <listitem>
604 <para>An asynchronous name lookup library</para>
[093b0e8]605 <indexterm zone="ch-system-eglibc libanl">
[3f8be484]606 <primary sortas="c-libanl">libanl</primary>
607 </indexterm>
608 </listitem>
609 </varlistentry>
610
611 <varlistentry id="libbsd-compat">
612 <term><filename class="libraryfile">libbsd-compat</filename></term>
613 <listitem>
614 <para>Provides the portability needed
615 in order to run certain Berkey Software Distribution (BSD) programs
616 under Linux</para>
[093b0e8]617 <indexterm zone="ch-system-eglibc libbsd-compat">
[3f8be484]618 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622
623 <varlistentry id="libc">
624 <term><filename class="libraryfile">libc</filename></term>
625 <listitem>
626 <para>The main C library</para>
[093b0e8]627 <indexterm zone="ch-system-eglibc libc">
[3f8be484]628 <primary sortas="c-libc">libc</primary>
629 </indexterm>
630 </listitem>
631 </varlistentry>
632
[188b6b2]633 <varlistentry id="libcidn">
634 <term><filename class="libraryfile">libcidn</filename></term>
635 <listitem>
636 <para>Used internally by EGLIBC for handling internationalized domain
637 names in the <function>getaddrinfo()</function> function</para>
638 <indexterm zone="ch-system-eglibc libcidn">
639 <primary sortas="c-libcidn">libcidn</primary>
640 </indexterm>
641 </listitem>
642 </varlistentry>
643
[3f8be484]644 <varlistentry id="libcrypt">
645 <term><filename class="libraryfile">libcrypt</filename></term>
646 <listitem>
647 <para>The cryptography library</para>
[093b0e8]648 <indexterm zone="ch-system-eglibc libcrypt">
[3f8be484]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>
[093b0e8]658 <indexterm zone="ch-system-eglibc libdl">
[3f8be484]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>
[093b0e8]668 <indexterm zone="ch-system-eglibc libg">
[3f8be484]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>
[093b0e8]679 <indexterm zone="ch-system-eglibc libieee">
[3f8be484]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>
[093b0e8]689 <indexterm zone="ch-system-eglibc libm">
[3f8be484]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>
[093b0e8]699 <indexterm zone="ch-system-eglibc libmcheck">
[3f8be484]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>
[093b0e8]708 <para>Used by <command>memusage</command> (included in EGLIBC, but
[7087cbc]709 not built in a base CLFS system as it has additional dependencies)
710 to help collect information about the memory usage of a program</para>
[093b0e8]711 <indexterm zone="ch-system-eglibc libmemusage">
[3f8be484]712 <primary sortas="c-libmemusage">libmemusage</primary>
713 </indexterm>
714 </listitem>
715 </varlistentry>
716
717 <varlistentry id="libnsl">
718 <term><filename class="libraryfile">libnsl</filename></term>
719 <listitem>
720 <para>The network services library</para>
[093b0e8]721 <indexterm zone="ch-system-eglibc libnsl">
[3f8be484]722 <primary sortas="c-libnsl">libnsl</primary>
723 </indexterm>
724 </listitem>
725 </varlistentry>
726
727 <varlistentry id="libnss">
728 <term><filename class="libraryfile">libnss</filename></term>
729 <listitem>
730 <para>The Name Service Switch libraries, containing functions for
731 resolving host names, user names, group names, aliases, services,
732 protocols, etc.</para>
[093b0e8]733 <indexterm zone="ch-system-eglibc libnss">
[3f8be484]734 <primary sortas="c-libnss">libnss</primary>
735 </indexterm>
736 </listitem>
737 </varlistentry>
738
739 <varlistentry id="libpcprofile">
740 <term><filename class="libraryfile">libpcprofile</filename></term>
741 <listitem>
742 <para>Contains profiling functions used to track the amount of CPU
743 time spent in specific source code lines</para>
[093b0e8]744 <indexterm zone="ch-system-eglibc libpcprofile">
[3f8be484]745 <primary sortas="c-libpcprofile">libpcprofile</primary>
746 </indexterm>
747 </listitem>
748 </varlistentry>
749
750 <varlistentry id="libpthread">
751 <term><filename class="libraryfile">libpthread</filename></term>
752 <listitem>
753 <para>The POSIX threads library</para>
[093b0e8]754 <indexterm zone="ch-system-eglibc libpthread">
[3f8be484]755 <primary sortas="c-libpthread">libpthread</primary>
756 </indexterm>
757 </listitem>
758 </varlistentry>
759
760 <varlistentry id="libresolv">
761 <term><filename class="libraryfile">libresolv</filename></term>
762 <listitem>
763 <para>Contains functions for creating, sending, and interpreting
764 packets to the Internet domain name servers</para>
[093b0e8]765 <indexterm zone="ch-system-eglibc libresolv">
[3f8be484]766 <primary sortas="c-libresolv">libresolv</primary>
767 </indexterm>
768 </listitem>
769 </varlistentry>
770
771 <varlistentry id="librpcsvc">
772 <term><filename class="libraryfile">librpcsvc</filename></term>
773 <listitem>
774 <para>Contains functions providing miscellaneous RPC services</para>
[093b0e8]775 <indexterm zone="ch-system-eglibc librpcsvc">
[3f8be484]776 <primary sortas="c-librpcsvc">librpcsvc</primary>
777 </indexterm>
778 </listitem>
779 </varlistentry>
780
781 <varlistentry id="librt">
782 <term><filename class="libraryfile">librt</filename></term>
783 <listitem>
784 <para>Contains functions providing most of the interfaces specified by
785 the POSIX.1b Realtime Extension</para>
[093b0e8]786 <indexterm zone="ch-system-eglibc librt">
[3f8be484]787 <primary sortas="c-librt">librt</primary>
788 </indexterm>
789 </listitem>
790 </varlistentry>
791
792 <varlistentry id="libthread_db">
793 <term><filename class="libraryfile">libthread_db</filename></term>
794 <listitem>
795 <para>Contains functions useful for
796 building debuggers for multi-threaded programs</para>
[093b0e8]797 <indexterm zone="ch-system-eglibc libthread_db">
[3f8be484]798 <primary sortas="c-libthread_db">libthread_db</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802
803 <varlistentry id="libutil">
804 <term><filename class="libraryfile">libutil</filename></term>
805 <listitem>
806 <para>Contains code for <quote>standard</quote> functions used in
807 many different Unix utilities</para>
[093b0e8]808 <indexterm zone="ch-system-eglibc libutil">
[3f8be484]809 <primary sortas="c-libutil">libutil</primary>
810 </indexterm>
811 </listitem>
812 </varlistentry>
813
814 </variablelist>
815
816 </sect2>
817
818</sect1>
Note: See TracBrowser for help on using the repository browser.