source: BOOK/final-system/common/eglibc.xml@ 0ef1c1f

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0ef1c1f was b5bd3744, checked in by William Harrington <kb0iic@…>, 11 years ago

Remove pt_chown entries as it is no longer installed by default.

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