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

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

Fix a typo for installation of nscd.service. Install to /lib/systemd/systemd not /lib/systemd/system. Problem with not being able to boot system cause systemd then installs systemd binary to /lib/systemd/systemd/systemd and /sbin/init is linking to a directory. Bad. Very bad.

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