source: chapter06/glibc.xml@ 4dea006

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 4dea006 was a0ec869, checked in by Bruce Dubbs <bdubbs@…>, 18 years ago

Updated glibc text concerning potential test failures

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

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