source: BOOK/final-system/common/eglibc.xml@ 3811b38

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3811b38 was 7d97f36, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Add a patch to EGLIBC that fixes an issue with elf missing deps.

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