source: BOOK/final-system/common/glibc.xml@ 7798ab2

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7798ab2 was 6d3523f, checked in by Chris Staub <chris@…>, 11 years ago

Updated some package installation lists

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