source: chapter06/glibc.xml@ 0445a3d

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.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 0445a3d was 0445a3d, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added remap attributes to userinput tags in packages pages.

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

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