source: chapter06/glibc.xml@ fbfd0b5

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since fbfd0b5 was 2791a8e, checked in by Matthew Burgess <matthew@…>, 17 years ago

Update the list of installed programs and libraries for several packages

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8125 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 31.8 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[6a82dd9]7
[81fd230]8<sect1 id="ch-system-glibc" role="wrap">
[6a82dd9]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 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
28
29 <seglistitem>
[e4a5635]30 <seg>&glibc-ch6-sbu;</seg>
31 <seg>&glibc-ch6-du;</seg>
[6a82dd9]32 </seglistitem>
33 </segmentedlist>
34
35 </sect2>
36
37 <sect2 role="installation">
38 <title>Installation of Glibc</title>
39
40 <note>
41 <para>Some packages outside of LFS suggest installing GNU libiconv in
42 order to translate data from one encoding to another. The project's
43 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
44 <quote>This library provides an <function>iconv()</function>
45 implementation, for use on systems which don't have one, or whose
46 implementation cannot convert from/to Unicode.</quote> Glibc provides
47 an <function>iconv()</function> implementation and can convert from/to
48 Unicode, therefore libiconv is not required on an LFS system.</para>
49 </note>
50
51 <para>The Glibc build system is self-contained and will install
52 perfectly, even though the compiler specs file and linker are still
53 pointing at <filename class="directory">/tools</filename>. The specs
54 and linker cannot be adjusted before the Glibc install because the
55 Glibc autoconf tests would give false results and defeat the goal
56 of achieving a clean build.</para>
57
58 <para>The glibc-libidn tarball adds support for internationalized domain
59 names (IDN) to Glibc. Many programs that support IDN require the full
[c226182]60 <filename class="libraryfile">libidn</filename> library, not this add-on (see
61 <ulink url="&blfs-root;view/svn/general/libidn.html"/>).
[6a82dd9]62 Unpack the tarball from within the Glibc source directory:</para>
[fa21b3d]63
[b0c8f4a6]64<screen><userinput>tar -xvf ../glibc-libidn-&glibc-version;.tar.bz2
[60bc014]65mv glibc-libidn-&glibc-version; libidn</userinput></screen>
[fa21b3d]66
[6a82dd9]67 <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
68 at startup. It is unknown whether this is a <command>bash</command> bug or a
69 Glibc problem. Disable installation of this locale in order to avoid the
70 problem:</para>
[fa21b3d]71
72<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
73
[6a82dd9]74 <para>When running <command>make install</command>, a script called
75 <filename>test-installation.pl</filename> performs a small sanity test on
76 our newly installed Glibc. However, because our toolchain still points to
77 the <filename class="directory">/tools</filename> directory, the sanity
78 test would be carried out against the wrong Glibc. We can force the script
79 to check the Glibc we have just installed with the following:</para>
[ae437d3]80
81<screen><userinput>sed -i \
82's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
83 scripts/test-installation.pl</userinput></screen>
84
[7e8e2c0]85 <para>Apply a patch to obtain various fixes that the upstream maintainers
86 have provided:</para>
87
88<screen><userinput>patch -Np1 -i ../&glibc-branch_update-patch;</userinput></screen>
89
[a4cb337]90 <para>The <command>ldd</command> shell script contains Bash-specific
91 syntax. Change it's default program interpreter to <command>/bin/bash</command>
92 in case another <command>/bin/sh</command> is installed as described in the
93 <ulink url="&blfs-root;view/svn/postlfs/shells.html">Shells</ulink>
94 chapter of the BLFS book:</para>
95
96<screen><userinput>sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>
97
[6a82dd9]98 <para>The Glibc documentation recommends building Glibc outside of the source
99 directory in a dedicated build directory:</para>
[73aedd1d]100
[5998892]101<screen><userinput>mkdir -v ../glibc-build
[73aedd1d]102cd ../glibc-build</userinput></screen>
103
[6a82dd9]104 <para>Prepare Glibc for compilation:</para>
[73aedd1d]105
[9dfc02f]106<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
[94aa6621]107 --disable-profile --enable-add-ons \
[8e97f32]108 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
[73aedd1d]109
[6a82dd9]110 <variablelist>
111 <title>The meaning of the new configure options:</title>
112
113 <varlistentry>
114 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
115 <listitem>
116 <para>This changes the location of the <command>pt_chown</command>
117 program from its default of <filename
118 class="directory">/usr/libexec</filename> to <filename
119 class="directory">/usr/lib/glibc</filename>.</para>
120 </listitem>
121 </varlistentry>
[81fd230]122
[6a82dd9]123 </variablelist>
[81fd230]124
[6a82dd9]125 <para>Compile the package:</para>
[73aedd1d]126
127<screen><userinput>make</userinput></screen>
128
[6a82dd9]129 <important>
130 <para>In this section, the test suite for Glibc is considered critical.
131 Do not skip it under any circumstance.</para>
132 </important>
[81fd230]133
[6a82dd9]134 <para>Test the results:</para>
[73aedd1d]135
[fe10b9c]136<screen><userinput>make -k check 2&gt;&amp;1 | tee glibc-check-log
[03e9011]137grep Error glibc-check-log</userinput></screen>
[2e02c35]138
[a0ec869]139 <para>You will probably see an expected (ignored) failure in the
140 <emphasis>posix/annexc</emphasis> test. In addition the Glibc test suite
141 is somewhat dependent on the host system. This is a list of the most
142 common issues:</para>
[6a82dd9]143
144 <itemizedlist>
145 <listitem>
[e1060de]146 <para>The <emphasis>nptl/tst-clock2</emphasis> and
147 <emphasis>tst-attr3</emphasis> tests sometimes
[a0ec869]148 fail. The reason is not completely understood, but indications
149 are that a heavy system load can trigger these failures.</para>
[6a82dd9]150 </listitem>
151 <listitem>
[a0ec869]152 <para>The math tests sometimes fail when running on
153 systems where the CPU is not a relatively new genuine Intel or
154 authentic AMD processor.</para>
[6a82dd9]155 </listitem>
156 <listitem>
157 <para>If you have mounted the LFS partition with the
158 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
159 test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
160 use the <parameter>noatime</parameter> option while building LFS.</para>
161 </listitem>
162 <listitem>
[a0ec869]163 <para>When running on older and slower hardware or on systems under
164 load, some tests can fail because of test timeouts being exceeded.</para>
[6a82dd9]165 </listitem>
166 </itemizedlist>
167
168 <para>Though it is a harmless message, the install stage of Glibc will
169 complain about the absence of <filename>/etc/ld.so.conf</filename>.
170 Prevent this warning with:</para>
[1caa48e]171
172<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
173
[6a82dd9]174 <para>Install the package:</para>
[73aedd1d]175
[40abfd5]176<screen><userinput>make install</userinput></screen>
[73aedd1d]177
[6a82dd9]178 <para>The locales that can make the system respond in a different language
179 were not installed by the above command. None of the locales are required,
[c226182]180 but if some of them are missing, testsuites of the future packages would
[6a82dd9]181 skip important testcases.</para>
182
183 <para>Individual locales can be installed using the
184 <command>localedef</command> program. E.g., the first
185 <command>localedef</command> command below combines the
186 <filename>/usr/share/i18n/locales/de_DE</filename>
187 charset-independent locale definition with the
188 <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename>
189 charmap definition and appends the result to the
190 <filename>/usr/lib/locale/locale-archive</filename> file.
191 The following instructions will install the minimum set of
192 locales necessary for the optimal coverage of tests:</para>
[3f0c882]193
[03e9011]194<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
[73aedd1d]195localedef -i de_DE -f ISO-8859-1 de_DE
196localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
197localedef -i en_HK -f ISO-8859-1 en_HK
198localedef -i en_PH -f ISO-8859-1 en_PH
199localedef -i en_US -f ISO-8859-1 en_US
[3a35b11]200localedef -i en_US -f UTF-8 en_US.UTF-8
[73aedd1d]201localedef -i es_MX -f ISO-8859-1 es_MX
[673b0d8]202localedef -i fa_IR -f UTF-8 fa_IR
[73aedd1d]203localedef -i fr_FR -f ISO-8859-1 fr_FR
204localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
[d93d1c90]205localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
[73aedd1d]206localedef -i it_IT -f ISO-8859-1 it_IT
207localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
208
[6a82dd9]209 <para>In addition, install the locale for your own country, language and
210 character set.</para>
[fa21b3d]211
[6a82dd9]212 <para>Alternatively, install all locales listed in the
213 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
214 (it includes every locale listed above and many more) at once with the
215 following time-consuming command:</para>
[fa21b3d]216
217<screen><userinput>make localedata/install-locales</userinput></screen>
218
[6a82dd9]219 <para>Then use the <command>localedef</command> command to create and
220 install locales not listed in the
221 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
222 in the unlikely case if you need them.</para>
223 <!-- The Live CD patches the localedata/SUPPORTED file instead of
224 running localedef, the results are equivalent -->
225
226 </sect2>
[94aa6621]227
[6a82dd9]228 <sect2 id="conf-glibc" role="configuration">
229 <title>Configuring Glibc</title>
[5888299]230
[6a82dd9]231 <indexterm zone="conf-glibc">
232 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
233 </indexterm>
[81fd230]234
[6a82dd9]235 <indexterm zone="conf-glibc">
236 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
237 </indexterm>
[342b176]238
[6a82dd9]239 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
240 because, although Glibc provides defaults when this file is missing or corrupt,
241 the Glibc defaults do not work well in a networked environment. The time zone
242 also needs to be configured.</para>
243
244 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
245 following:</para>
[342b176]246
[bb55064]247<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
[d72e04a]248<literal># Begin /etc/nsswitch.conf
[342b176]249
250passwd: files
251group: files
252shadow: files
253
254hosts: files dns
255networks: files
256
[4a80bec]257protocols: files
258services: files
259ethers: files
260rpc: files
[342b176]261
[d72e04a]262# End /etc/nsswitch.conf</literal>
[bb55064]263EOF</userinput></screen>
[342b176]264
[e1060de]265 <para>One way to determine the local time zone, run the following
266 script:</para>
[342b176]267
[be4be92]268<screen role="nodump"><userinput>tzselect</userinput></screen>
[342b176]269
[6a82dd9]270 <para>After answering a few questions about the location, the script will
[e1060de]271 output the name of the time zone (e.g.,
272 <emphasis>America/Edmonton</emphasis>). There are also some other possible
273 timezones listed in <filename
274 class='directory'>/usr/share/zoneinfo</filename> such as
275 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
276 are not identified by the script but can be used.</para>
277
278 <para>Then create the <filename>/etc/localtime</filename> file by
279 running:</para>
[342b176]280
[ff38e70]281<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
[3f0c882]282 /etc/localtime</userinput></screen>
[342b176]283
[e1060de]284 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
285 time zone selected (e.g., Canada/Eastern).</para>
[6a82dd9]286
287 <variablelist>
288 <title>The meaning of the cp option:</title>
289
290 <varlistentry>
291 <term><parameter>--remove-destination</parameter></term>
292 <listitem>
293 <para>This is needed to force removal of the already existing symbolic
294 link. The reason for copying the file instead of using a symlink is to
295 cover the situation where <filename class="directory">/usr</filename>
296 is on a separate partition. This could be important when booted into
297 single user mode.</para>
298 </listitem>
299 </varlistentry>
300
301 </variablelist>
302
303 </sect2>
304
305 <sect2 id="conf-ld" role="configuration">
306 <title>Configuring the Dynamic Loader</title>
307
308 <indexterm zone="conf-ld">
309 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
310 </indexterm>
311
312 <para>By default, the dynamic loader (<filename
313 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
314 <filename class="directory">/lib</filename> and <filename
315 class="directory">/usr/lib</filename> for dynamic libraries that are
316 needed by programs as they are run. However, if there are libraries in
317 directories other than <filename class="directory">/lib</filename> and
318 <filename class="directory">/usr/lib</filename>, these need to be added
319 to the <filename>/etc/ld.so.conf</filename> file in order for the
320 dynamic loader to find them. Two directories that are commonly known
321 to contain additional libraries are <filename
322 class="directory">/usr/local/lib</filename> and <filename
323 class="directory">/opt/lib</filename>, so add those directories to the
324 dynamic loader's search path.</para>
325
326 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
327 following:</para>
[342b176]328
[bb55064]329<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[d72e04a]330<literal># Begin /etc/ld.so.conf
[342b176]331
332/usr/local/lib
333/opt/lib
334
[d72e04a]335# End /etc/ld.so.conf</literal>
[bb55064]336EOF</userinput></screen>
[342b176]337
[6a82dd9]338 </sect2>
339
340 <sect2 id="contents-glibc" role="content">
341 <title>Contents of Glibc</title>
342
343 <segmentedlist>
344 <segtitle>Installed programs</segtitle>
345 <segtitle>Installed libraries</segtitle>
346
347 <seglistitem>
348 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
[60bc014]349 ldd, lddlibc4, locale, localedef, mtrace, nscd, pcprofiledump,
350 pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
[6a82dd9]351 zdump, and zic</seg>
[0090db5]352 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
353 libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
[2791a8e]354 libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so,
355 libnsl.{a,so}, libnss_compat.so, libnss_dns.so, libnss_files.so,
356 libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so, libpcprofile.so,
357 libpthread.{a,so}, libresolv.{a,so}, librpcsvc.a, librt.{a,so},
358 libthread_db.so, and libutil.{a,so}</seg>
[6a82dd9]359 </seglistitem>
360 </segmentedlist>
361
362 <variablelist>
363 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
364 <?dbfo list-presentation="list"?>
365 <?dbhtml list-presentation="table"?>
366
367 <varlistentry id="catchsegv">
368 <term><command>catchsegv</command></term>
369 <listitem>
370 <para>Can be used to create a stack trace when a program
371 terminates with a segmentation fault</para>
372 <indexterm zone="ch-system-glibc catchsegv">
373 <primary sortas="b-catchsegv">catchsegv</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
377
378 <varlistentry id="gencat">
379 <term><command>gencat</command></term>
380 <listitem>
381 <para>Generates message catalogues</para>
382 <indexterm zone="ch-system-glibc gencat">
383 <primary sortas="b-gencat">gencat</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="getconf">
389 <term><command>getconf</command></term>
390 <listitem>
391 <para>Displays the system configuration values for file system
392 specific variables</para>
393 <indexterm zone="ch-system-glibc getconf">
394 <primary sortas="b-getconf">getconf</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="getent">
400 <term><command>getent</command></term>
401 <listitem>
402 <para>Gets entries from an administrative database</para>
403 <indexterm zone="ch-system-glibc getent">
404 <primary sortas="b-getent">getent</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 <varlistentry id="iconv">
410 <term><command>iconv</command></term>
411 <listitem>
412 <para>Performs character set conversion</para>
413 <indexterm zone="ch-system-glibc iconv">
414 <primary sortas="b-iconv">iconv</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="iconvconfig">
420 <term><command>iconvconfig</command></term>
421 <listitem>
422 <para>Creates fastloading <command>iconv</command> module configuration
423 files</para>
424 <indexterm zone="ch-system-glibc iconvconfig">
425 <primary sortas="b-iconvconfig">iconvconfig</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
429
430 <varlistentry id="ldconfig">
431 <term><command>ldconfig</command></term>
432 <listitem>
433 <para>Configures the dynamic linker runtime bindings</para>
434 <indexterm zone="ch-system-glibc ldconfig">
435 <primary sortas="b-ldconfig">ldconfig</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="ldd">
441 <term><command>ldd</command></term>
442 <listitem>
443 <para>Reports which shared libraries are required
444 by each given program or shared library</para>
445 <indexterm zone="ch-system-glibc ldd">
446 <primary sortas="b-ldd">ldd</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
450
451 <varlistentry id="lddlibc4">
452 <term><command>lddlibc4</command></term>
453 <listitem>
454 <para>Assists <command>ldd</command> with object files</para>
455 <indexterm zone="ch-system-glibc lddlibc4">
456 <primary sortas="b-lddlibc4">lddlibc4</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="locale">
462 <term><command>locale</command></term>
463 <listitem>
464 <para>Prints various information about the current locale</para>
465 <indexterm zone="ch-system-glibc locale">
466 <primary sortas="b-locale">locale</primary>
467 </indexterm>
468 </listitem>
469 </varlistentry>
470
471 <varlistentry id="localedef">
472 <term><command>localedef</command></term>
473 <listitem>
474 <para>Compiles locale specifications</para>
475 <indexterm zone="ch-system-glibc localedef">
476 <primary sortas="b-localedef">localedef</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
481 <varlistentry id="mtrace">
482 <term><command>mtrace</command></term>
483 <listitem>
484 <para>Reads and interprets a memory trace file and displays a summary
485 in human-readable format</para>
486 <indexterm zone="ch-system-glibc mtrace">
487 <primary sortas="b-mtrace">mtrace</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="nscd">
493 <term><command>nscd</command></term>
494 <listitem>
495 <para>A daemon that provides a cache for the most common name
496 service requests</para>
497 <indexterm zone="ch-system-glibc nscd">
498 <primary sortas="b-nscd">nscd</primary>
499 </indexterm>
500 </listitem>
501 </varlistentry>
502
503 <varlistentry id="pcprofiledump">
504 <term><command>pcprofiledump</command></term>
505 <listitem>
506 <para>Dumps information generated by PC profiling</para>
507 <indexterm zone="ch-system-glibc pcprofiledump">
508 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
513 <varlistentry id="pt_chown">
514 <term><command>pt_chown</command></term>
515 <listitem>
516 <para>A helper program for <command>grantpt</command> to set the owner,
517 group and access permissions of a slave pseudo terminal</para>
518 <indexterm zone="ch-system-glibc pt_chown">
519 <primary sortas="b-pt_chown">pt_chown</primary>
520 </indexterm>
521 </listitem>
522 </varlistentry>
523
524 <varlistentry id="rpcgen">
525 <term><command>rpcgen</command></term>
526 <listitem>
527 <para>Generates C code to implement the Remote Procecure Call (RPC)
528 protocol</para>
529 <indexterm zone="ch-system-glibc rpcgen">
530 <primary sortas="b-rpcgen">rpcgen</primary>
531 </indexterm>
532 </listitem>
533 </varlistentry>
534
535 <varlistentry id="rpcinfo">
536 <term><command>rpcinfo</command></term>
537 <listitem>
538 <para>Makes an RPC call to an RPC server</para>
539 <indexterm zone="ch-system-glibc rpcinfo">
540 <primary sortas="b-rpcinfo">rpcinfo</primary>
541 </indexterm>
542 </listitem>
543 </varlistentry>
544
545 <varlistentry id="sln">
546 <term><command>sln</command></term>
547 <listitem>
548 <para>A statically linked <command>ln</command> program</para>
549 <indexterm zone="ch-system-glibc sln">
550 <primary sortas="b-sln">sln</primary>
551 </indexterm>
552 </listitem>
553 </varlistentry>
554
555 <varlistentry id="sprof">
556 <term><command>sprof</command></term>
557 <listitem>
558 <para>Reads and displays shared object profiling data</para>
559 <indexterm zone="ch-system-glibc sprof">
560 <primary sortas="b-sprof">sprof</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
565 <varlistentry id="tzselect">
566 <term><command>tzselect</command></term>
567 <listitem>
568 <para>Asks the user about the location of the system and reports
569 the corresponding time zone description</para>
570 <indexterm zone="ch-system-glibc tzselect">
571 <primary sortas="b-tzselect">tzselect</primary>
572 </indexterm>
573 </listitem>
574 </varlistentry>
575
576 <varlistentry id="xtrace">
577 <term><command>xtrace</command></term>
578 <listitem>
579 <para>Traces the execution of a program by printing the currently
580 executed function</para>
581 <indexterm zone="ch-system-glibc xtrace">
582 <primary sortas="b-xtrace">xtrace</primary>
583 </indexterm>
584 </listitem>
585 </varlistentry>
586
587 <varlistentry id="zdump">
588 <term><command>zdump</command></term>
589 <listitem>
590 <para>The time zone dumper</para>
591 <indexterm zone="ch-system-glibc zdump">
592 <primary sortas="b-zdump">zdump</primary>
593 </indexterm>
594 </listitem>
595 </varlistentry>
596
597 <varlistentry id="zic">
598 <term><command>zic</command></term>
599 <listitem>
600 <para>The time zone compiler</para>
601 <indexterm zone="ch-system-glibc zic">
602 <primary sortas="b-zic">zic</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
607 <varlistentry id="ld.so">
608 <term><filename class="libraryfile">ld.so</filename></term>
609 <listitem>
610 <para>The helper program for shared library executables</para>
611 <indexterm zone="ch-system-glibc ld.so">
612 <primary sortas="c-ld.so">ld.so</primary>
613 </indexterm>
614 </listitem>
615 </varlistentry>
616
617 <varlistentry id="libBrokenLocale">
618 <term><filename class="libraryfile">libBrokenLocale</filename></term>
619 <listitem>
620 <para>Used internally by Glibc as a gross hack to get broken programs
621 (e.g., some Motif applications) running. See comments in
622 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
623 for more information</para>
624 <indexterm zone="ch-system-glibc libBrokenLocale">
625 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
626 </indexterm>
627 </listitem>
628 </varlistentry>
629
630 <varlistentry id="libSegFault">
631 <term><filename class="libraryfile">libSegFault</filename></term>
632 <listitem>
633 <para>The segmentation fault signal handler, used by
634 <command>catchsegv</command></para>
635 <indexterm zone="ch-system-glibc libSegFault">
636 <primary sortas="c-libSegFault">libSegFault</primary>
637 </indexterm>
638 </listitem>
639 </varlistentry>
640
641 <varlistentry id="libanl">
642 <term><filename class="libraryfile">libanl</filename></term>
643 <listitem>
644 <para>An asynchronous name lookup library</para>
645 <indexterm zone="ch-system-glibc libanl">
646 <primary sortas="c-libanl">libanl</primary>
647 </indexterm>
648 </listitem>
649 </varlistentry>
650
651 <varlistentry id="libbsd-compat">
652 <term><filename class="libraryfile">libbsd-compat</filename></term>
653 <listitem>
[40ffa16]654 <para>Provides the portability needed in order to run certain
655 Berkeley Software Distribution (BSD) programs under Linux</para>
[6a82dd9]656 <indexterm zone="ch-system-glibc libbsd-compat">
657 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
658 </indexterm>
659 </listitem>
660 </varlistentry>
661
662 <varlistentry id="libc">
663 <term><filename class="libraryfile">libc</filename></term>
664 <listitem>
665 <para>The main C library</para>
666 <indexterm zone="ch-system-glibc libc">
667 <primary sortas="c-libc">libc</primary>
668 </indexterm>
669 </listitem>
670 </varlistentry>
671
672 <varlistentry id="libcidn">
673 <term><filename class="libraryfile">libcidn</filename></term>
674 <listitem>
675 <para>Used internally by Glibc for handling internationalized domain
676 names in the <function>getaddrinfo()</function> function</para>
677 <indexterm zone="ch-system-glibc libcrypt">
678 <primary sortas="c-libcrypt">libcrypt</primary>
679 </indexterm>
680 </listitem>
681 </varlistentry>
682
683 <varlistentry id="libcrypt">
684 <term><filename class="libraryfile">libcrypt</filename></term>
685 <listitem>
686 <para>The cryptography library</para>
687 <indexterm zone="ch-system-glibc libcrypt">
688 <primary sortas="c-libcrypt">libcrypt</primary>
689 </indexterm>
690 </listitem>
691 </varlistentry>
692
693 <varlistentry id="libdl">
694 <term><filename class="libraryfile">libdl</filename></term>
695 <listitem>
696 <para>The dynamic linking interface library</para>
697 <indexterm zone="ch-system-glibc libdl">
698 <primary sortas="c-libdl">libdl</primary>
699 </indexterm>
700 </listitem>
701 </varlistentry>
702
703 <varlistentry id="libg">
704 <term><filename class="libraryfile">libg</filename></term>
705 <listitem>
706 <para>Dummy library containing no functions. Previously was a runtime
707 library for <command>g++</command></para>
708 <indexterm zone="ch-system-glibc libg">
709 <primary sortas="c-libg">libg</primary>
710 </indexterm>
711 </listitem>
712 </varlistentry>
713
714 <varlistentry id="libieee">
715 <term><filename class="libraryfile">libieee</filename></term>
716 <listitem>
717 <para>Linking in this module forces error handling rules for math
718 functions as defined by the Institute of Electrical and Electronic
719 Engineers (IEEE). The default is POSIX.1 error handling</para>
720 <indexterm zone="ch-system-glibc libieee">
721 <primary sortas="c-libieee">libieee</primary>
722 </indexterm>
723 </listitem>
724 </varlistentry>
725
726 <varlistentry id="libm">
727 <term><filename class="libraryfile">libm</filename></term>
728 <listitem>
729 <para>The mathematical library</para>
730 <indexterm zone="ch-system-glibc libm">
731 <primary sortas="c-libm">libm</primary>
732 </indexterm>
733 </listitem>
734 </varlistentry>
735
736 <varlistentry id="libmcheck">
737 <term><filename class="libraryfile">libmcheck</filename></term>
738 <listitem>
739 <para>Turns on memory allocation checking when linked to</para>
740 <indexterm zone="ch-system-glibc libmcheck">
741 <primary sortas="c-libmcheck">libmcheck</primary>
742 </indexterm>
743 </listitem>
744 </varlistentry>
745
746 <varlistentry id="libmemusage">
747 <term><filename class="libraryfile">libmemusage</filename></term>
748 <listitem>
749 <para>Used by <command>memusage</command> to help collect
750 information about the memory usage of a program</para>
751 <indexterm zone="ch-system-glibc libmemusage">
752 <primary sortas="c-libmemusage">libmemusage</primary>
753 </indexterm>
754 </listitem>
755 </varlistentry>
756
757 <varlistentry id="libnsl">
758 <term><filename class="libraryfile">libnsl</filename></term>
759 <listitem>
760 <para>The network services library</para>
761 <indexterm zone="ch-system-glibc libnsl">
762 <primary sortas="c-libnsl">libnsl</primary>
763 </indexterm>
764 </listitem>
765 </varlistentry>
766
767 <varlistentry id="libnss">
768 <term><filename class="libraryfile">libnss</filename></term>
769 <listitem>
770 <para>The Name Service Switch libraries, containing functions for
771 resolving host names, user names, group names, aliases, services,
772 protocols, etc.</para>
773 <indexterm zone="ch-system-glibc libnss">
774 <primary sortas="c-libnss">libnss</primary>
775 </indexterm>
776 </listitem>
777 </varlistentry>
778
779 <varlistentry id="libpcprofile">
780 <term><filename class="libraryfile">libpcprofile</filename></term>
781 <listitem>
782 <para>Contains profiling functions used to track the amount of CPU
783 time spent in specific source code lines</para>
784 <indexterm zone="ch-system-glibc libpcprofile">
785 <primary sortas="c-libpcprofile">libpcprofile</primary>
786 </indexterm>
787 </listitem>
788 </varlistentry>
789
790 <varlistentry id="libpthread">
791 <term><filename class="libraryfile">libpthread</filename></term>
792 <listitem>
793 <para>The POSIX threads library</para>
794 <indexterm zone="ch-system-glibc libpthread">
795 <primary sortas="c-libpthread">libpthread</primary>
796 </indexterm>
797 </listitem>
798 </varlistentry>
799
800 <varlistentry id="libresolv">
801 <term><filename class="libraryfile">libresolv</filename></term>
802 <listitem>
803 <para>Contains functions for creating, sending, and interpreting
804 packets to the Internet domain name servers</para>
805 <indexterm zone="ch-system-glibc libresolv">
806 <primary sortas="c-libresolv">libresolv</primary>
807 </indexterm>
808 </listitem>
809 </varlistentry>
810
811 <varlistentry id="librpcsvc">
812 <term><filename class="libraryfile">librpcsvc</filename></term>
813 <listitem>
814 <para>Contains functions providing miscellaneous RPC services</para>
815 <indexterm zone="ch-system-glibc librpcsvc">
816 <primary sortas="c-librpcsvc">librpcsvc</primary>
817 </indexterm>
818 </listitem>
819 </varlistentry>
820
821 <varlistentry id="librt">
822 <term><filename class="libraryfile">librt</filename></term>
823 <listitem>
824 <para>Contains functions providing most of the interfaces specified
825 by the POSIX.1b Realtime Extension</para>
826 <indexterm zone="ch-system-glibc librt">
827 <primary sortas="c-librt">librt</primary>
828 </indexterm>
829 </listitem>
830 </varlistentry>
831
832 <varlistentry id="libthread_db">
833 <term><filename class="libraryfile">libthread_db</filename></term>
834 <listitem>
835 <para>Contains functions useful for building debuggers for
836 multi-threaded programs</para>
837 <indexterm zone="ch-system-glibc libthread_db">
838 <primary sortas="c-libthread_db">libthread_db</primary>
839 </indexterm>
840 </listitem>
841 </varlistentry>
842
843 <varlistentry id="libutil">
844 <term><filename class="libraryfile">libutil</filename></term>
845 <listitem>
846 <para>Contains code for <quote>standard</quote> functions used in
847 many different Unix utilities</para>
848 <indexterm zone="ch-system-glibc libutil">
849 <primary sortas="c-libutil">libutil</primary>
850 </indexterm>
851 </listitem>
852 </varlistentry>
853
854 </variablelist>
855
856 </sect2>
[673b0d8]857
858</sect1>
Note: See TracBrowser for help on using the repository browser.