source: BOOK/final-system/common/eglibc.xml@ 52595c6

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 52595c6 was 65ab9ce, checked in by William Harrington <kb0iic@…>, 12 years ago

Update host system requirements. Book's supported linux kernel version is 2.6.32 or greater.

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