Changeset 81fd230 for chapter06/glibc.xml
- Timestamp:
- 02/19/2005 10:16:42 PM (19 years ago)
- Branches:
- 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.1, 6.1.1, 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
- Children:
- 3d31fc4
- Parents:
- 2f9131f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
r2f9131f r81fd230 4 4 %general-entities; 5 5 ]> 6 <sect1 id="ch-system-glibc" xreflabel="Glibc"role="wrap">6 <sect1 id="ch-system-glibc" role="wrap"> 7 7 <title>Glibc-&glibc-version;</title> 8 8 <?dbhtml filename="glibc.html"?> … … 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Glibc package contains the main C library. This library provides 14 the basic routines for allocating memory, searching directories, opening and 15 closing files, reading and writing files, string handling, pattern matching, 16 arithmetic, and so on.</para> 13 17 14 18 <segmentedlist> … … 18 22 </segmentedlist> 19 23 24 <segmentedlist> 25 <segtitle>Glibc installation depends on</segtitle> 26 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 27 Gawk, GCC, Gettext, Grep, Make, Perl, Sed, and Texinfo</seg></seglistitem> 28 </segmentedlist> 20 29 </sect2> 21 30 … … 23 32 <title>Installation of Glibc</title> 24 33 25 <para>The linuxthreads tarball contains the man pages for the threading 26 libraries installed by glibc. Unpack the tarball from within the glibc source 27 directory:</para> 28 29 <screen><userinput>tar xjvf ../glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen> 30 31 <para>Create a build directory:</para> 34 <para>This package is known to have issues when its default 35 optimization flags (including the <parameter>-march</parameter> and 36 <parameter>-mcpu</parameter> options) are changed. If any environment 37 variables that override default optimizations have been defined, such 38 as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>, 39 unset them when building Glibc.</para> 40 41 <para>The Glibc build system is self-contained and will install 42 perfectly, even though the compiler specs file and linker are still 43 pointing at <filename class="directory">/tools</filename>. The specs 44 and linker cannot be adjusted before the Glibc install because the 45 Glibc autoconf tests would give false results and defeat the goal 46 of achieving a clean build.</para> 47 48 <para>The linuxthreads tarball contains the man pages for the 49 threading libraries installed by glibc. Unpack the tarball from 50 within the glibc source directory:</para> 51 52 <screen><userinput>tar xjvf /sources/glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen> 53 54 <para>The Glibc documentation recommends building Glibc outside of the source 55 directory in a dedicated build directory:</para> 32 56 33 57 <screen><userinput>mkdir ../glibc-build 34 58 cd ../glibc-build</userinput></screen> 35 59 36 <para> Now prepare Glibc for compilation:</para>60 <para>Prepare Glibc for compilation:</para> 37 61 38 62 <screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ … … 41 65 --libexecdir=/usr/lib/glibc</userinput></screen> 42 66 67 <para>The meaning of the new configure option:</para> 68 69 <variablelist> 70 <varlistentry> 71 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term> 72 <listitem><para>This changes the location of the 73 <command>pt_chown</command> program from its default of <filename 74 class="directory">/usr/libexec</filename> to <filename 75 class="directory">/usr/lib/glibc</filename>.</para></listitem> 76 </varlistentry> 77 </variablelist> 78 43 79 <para>Compile the package:</para> 44 80 45 81 <screen><userinput>make</userinput></screen> 46 82 83 <important><para>In this section, the test suite for Glibc is 84 considered critical. Do not skip it under any 85 circumstance.</para></important> 86 47 87 <para>Test the results:</para> 48 88 49 89 <screen><userinput>make check</userinput></screen> 50 90 51 <para>The Glibc test suite is highly dependent on certain functions of your host 52 system. See testing for explanations.</para> 53 54 <para>Fix an annoying little warning with:</para> 91 <para>The Glibc test suite is highly dependent on certain functions of 92 the host system, in particular the kernel. In general, the Glibc test 93 suite is always expected to pass. However, in certain circumstances, 94 some failures are unavoidable. This is a list of the most common 95 issues:</para> 96 97 <itemizedlist> 98 <listitem><para>The <emphasis>math</emphasis> tests sometimes fail when running 99 on systems where the CPU is not a relatively new genuine Intel or authentic AMD. 100 Certain optimization settings are also known to be a factor here.</para></listitem> 101 102 <listitem><para>The <emphasis>gettext</emphasis> test sometimes fails due to 103 host system issues. The exact reasons are not yet clear.</para></listitem> 104 105 <listitem><para>The <emphasis>atime</emphasis> test sometimes fails 106 when the LFS partition is mounted with the 107 <parameter>noatime</parameter> option.</para></listitem> 108 109 <listitem><para>The <emphasis>shm</emphasis> test can fail when the 110 host system is using the <systemitem 111 class="filesystem">devfs</systemitem> file system but does not have 112 the <systemitem class="filesystem">tmpfs</systemitem> file system 113 mounted at <filename class="directory">/dev/shm</filename>. This 114 occurs because of a lack of support for <systemitem 115 class="filesystem">tmpfs</systemitem> in the 116 kernel.</para></listitem> 117 118 <listitem><para>When running on older and slower hardware, some tests 119 can fail because of test timeouts being exceeded.</para></listitem> 120 </itemizedlist> 121 122 <para>Though it is a harmless message, the install stage of Glibc will 123 complain about the absence of <filename>/etc/ld.so.conf</filename>. 124 Prevent this warning with:</para> 55 125 56 126 <screen><userinput>touch /etc/ld.so.conf</userinput></screen> 57 127 58 <para> And install the package:</para>128 <para>Install the package:</para> 59 129 60 130 <screen><userinput>make install</userinput></screen> 61 131 62 <para>To install the Glibc locales, use the following 63 command:</para> 132 <para>The locales that can make the system respond in a different 133 language were not installed by the above command. Install this 134 with:</para> 64 135 65 136 <screen><userinput>make localedata/install-locales</userinput></screen> 66 137 67 <para>An alternative to running the previous command is to install only those 68 locales which you need or want. The following instructions, instead of the 69 install-locales target above, will install the minimum set of locales necessary 138 <para>To save time, an alternative to running the 139 previous command (which generates and installs every locale Glibc is 140 aware of) is to install only those locales that are wanted and needed. 141 This can be achieved by using the <command>localedef</command> 142 command. Information on this command is located in the 143 <filename>INSTALL</filename> file in the Glibc source. However, there 144 are a number of locales that are essential in order for the tests of 145 future packages to pass, in particular, the 146 <emphasis>libstdc++</emphasis> tests from GCC. The following 147 instructions, instead of the <parameter>install-locales</parameter> 148 target used above, will install the minimum set of locales necessary 70 149 for the tests to run successfully:</para> 71 150 … … 83 162 localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen> 84 163 85 <para>Build the linuxthreads man pages:</para> 164 <para>Some locales installed by the <command>make 165 localedata/install-locales</command> command above are not properly 166 supported by some applications that are in the LFS and BLFS books. 167 Because of the various problems that arise due to application 168 programmers making assumptions that break in such locales, LFS should 169 not be used in locales that utilize multibyte character sets 170 (including UTF-8) or right-to-left writing order. Numerous unofficial 171 and unstable patches are required to fix these problems, and it has 172 been decided by the LFS developers not to support such complex locales. This applies to the 173 ja_JP and fa_IR locales as well—they have been installed only for 174 GCC and Gettext tests to pass, and the <command>watch</command> program 175 (part of the Procps package) does not work properly in them. Various 176 attempts to circumvent these restrictions are documented in 177 internationalization-related hints.</para> 178 179 <para>Build the linuxthreads man pages, which are a great reference 180 on the threading API (applicable to NPTL as well):</para> 86 181 87 182 <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen> 88 183 89 <para> And install these pages:</para>184 <para>Install these pages:</para> 90 185 91 186 <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen> … … 93 188 </sect2> 94 189 95 96 190 <sect2 id="conf-glibc" role="configuration"><title>Configuring Glibc</title> 191 <indexterm zone="conf-glibc"><primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary></indexterm> 192 <indexterm zone="conf-glibc"><primary sortas="e-/etc/localtime">/etc/localtime</primary></indexterm> 193 194 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be 195 created because, although Glibc provides defaults when this file is 196 missing or corrupt, the Glibc defaults do not work well with 197 networking. The time zone also needs to be set up.</para> 97 198 98 199 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the … … 117 218 EOF</userinput></screen> 118 219 119 <para>To find out what time zone you're in, run the following script:</para>220 <para>To determine the local time zone, run the following script:</para> 120 221 121 222 <screen><userinput>tzselect</userinput></screen> 122 223 123 <para>Then create the <filename>/etc/localtime</filename> file by running:</para> 224 <para>After answering a few questions about the location, the script 225 will output the name of the time zone (e.g., 226 <emphasis>EST5EDT</emphasis> or <emphasis>Canada/Eastern</emphasis>). 227 Then create the <filename>/etc/localtime</filename> file by 228 running:</para> 124 229 125 230 <screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \ 126 231 /etc/localtime</userinput></screen> 127 232 233 <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone that the 234 <command>tzselect</command> provided (e.g., Canada/Eastern).</para> 235 236 <para>The meaning of the cp option:</para> 237 238 <variablelist> 239 <varlistentry> 240 <term><parameter>--remove-destination</parameter></term> 241 <listitem><para>This is needed to force removal of the already 242 existing symbolic link. The reason for copying the file instead of 243 using a symlink is to cover the situation where <filename 244 class="directory">/usr</filename> is on a separate partition. This 245 could be important when booted into single user 246 mode.</para></listitem> 247 </varlistentry> 248 </variablelist> 249 128 250 </sect2> 129 251 … … 131 253 <sect2 id="conf-ld" role="configuration"> 132 254 <title>Configuring Dynamic Loader</title> 255 <indexterm zone="conf-ld"><primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary></indexterm> 256 257 <para>By default, the dynamic loader (<filename 258 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through 259 <filename class="directory">/lib</filename> and <filename 260 class="directory">/usr/lib</filename> for dynamic libraries that are 261 needed by programs as they are run. However, if there are libraries in 262 directories other than <filename class="directory">/lib</filename> and 263 <filename class="directory">/usr/lib</filename>, these need to be 264 added to the <filename>/etc/ld.so.conf</filename> file in order 265 for the dynamic loader to find them. Two directories that are commonly 266 known to contain additional libraries are <filename 267 class="directory">/usr/local/lib</filename> and <filename 268 class="directory">/opt/lib</filename>, so add those directories to the 269 dynamic loader's search path.</para> 133 270 134 271 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the … … 146 283 </sect2> 147 284 148 149 285 <sect2 id="contents-glibc" role="content"><title>Contents of Glibc</title> 150 286 151 <para>See testing</para> 287 <segmentedlist> 288 <segtitle>Installed programs</segtitle> 289 <segtitle>Installed libraries</segtitle> 290 <seglistitem><seg>catchsegv, gencat, getconf, 291 getent, iconv, iconvconfig, ldconfig, ldd, lddlibc4, locale, 292 localedef, mtrace, nscd, nscd_nischeck, pcprofiledump, pt_chown, rpcgen, 293 rpcinfo, sln, sprof, tzselect, xtrace, zdump, and zic</seg> 294 <seg>ld.so, libBrokenLocale.[a,so], 295 libSegFault.so, libanl.[a,so], libbsd-compat.a, libc.[a,so], 296 libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so], libmcheck.a, 297 libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so, libnss_files.so, 298 libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so, libpcprofile.so, 299 libpthread.[a,so], libresolv.[a,so], librpcsvc.a, librt.[a,so], 300 libthread_db.so, and libutil.[a,so]</seg></seglistitem> 301 </segmentedlist> 302 303 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 304 <?dbfo list-presentation="list"?> 305 306 <varlistentry id="catchsegv"> 307 <term><command>catchsegv</command></term> 308 <listitem> 309 <para>Can be used to create a stack trace when a program 310 terminates with a segmentation fault</para> 311 <indexterm zone="ch-system-glibc catchsegv"><primary sortas="b-catchsegv">catchsegv</primary></indexterm> 312 </listitem> 313 </varlistentry> 314 315 <varlistentry id="gencat"> 316 <term><command>gencat</command></term> 317 <listitem> 318 <para>Generates message catalogues</para> 319 <indexterm zone="ch-system-glibc gencat"><primary sortas="b-gencat">gencat</primary></indexterm> 320 </listitem> 321 </varlistentry> 322 323 <varlistentry id="getconf"> 324 <term><command>getconf</command></term> 325 <listitem> 326 <para>Displays the system configuration values for file system specific variables</para> 327 <indexterm zone="ch-system-glibc getconf"><primary sortas="b-getconf">getconf</primary></indexterm> 328 </listitem> 329 </varlistentry> 330 331 <varlistentry id="getent"> 332 <term><command>getent</command></term> 333 <listitem> 334 <para>Gets entries from an administrative database</para> 335 <indexterm zone="ch-system-glibc getent"><primary sortas="b-getent">getent</primary></indexterm> 336 </listitem> 337 </varlistentry> 338 339 <varlistentry id="iconv"> 340 <term><command>iconv</command></term> 341 <listitem> 342 <para>Performs character set conversion</para> 343 <indexterm zone="ch-system-glibc iconv"><primary sortas="b-iconv">iconv</primary></indexterm> 344 </listitem> 345 </varlistentry> 346 347 <varlistentry id="iconvconfig"> 348 <term><command>iconvconfig</command></term> 349 <listitem> 350 <para>Creates fastloading <command>iconv</command> module configuration files</para> 351 <indexterm zone="ch-system-glibc iconvconfig"><primary sortas="b-iconvconfig">iconvconfig</primary></indexterm> 352 </listitem> 353 </varlistentry> 354 355 <varlistentry id="ldconfig"> 356 <term><command>ldconfig</command></term> 357 <listitem> 358 <para>Configures the dynamic linker runtime bindings</para> 359 <indexterm zone="ch-system-glibc ldconfig"><primary sortas="b-ldconfig">ldconfig</primary></indexterm> 360 </listitem> 361 </varlistentry> 362 363 <varlistentry id="ldd"> 364 <term><command>ldd</command></term> 365 <listitem> 366 <para>Reports which shared libraries are required 367 by each given program or shared library</para> 368 <indexterm zone="ch-system-glibc ldd"><primary sortas="b-ldd">ldd</primary></indexterm> 369 </listitem> 370 </varlistentry> 371 372 <varlistentry id="lddlibc4"> 373 <term><command>lddlibc4</command></term> 374 <listitem> 375 <para>Assists <command>ldd</command> with object files</para> 376 <indexterm zone="ch-system-glibc lddlibc4"><primary sortas="b-lddlibc4">lddlibc4</primary></indexterm> 377 </listitem> 378 </varlistentry> 379 380 <varlistentry id="locale"> 381 <term><command>locale</command></term> 382 <listitem> 383 <para>Tells the compiler to enable or disable the use of POSIX locales 384 for built-in operations</para> 385 <indexterm zone="ch-system-glibc locale"><primary sortas="b-locale">locale</primary></indexterm> 386 </listitem> 387 </varlistentry> 388 389 <varlistentry id="localedef"> 390 <term><command>localedef</command></term> 391 <listitem> 392 <para>Compiles locale specifications</para> 393 <indexterm zone="ch-system-glibc localedef"><primary sortas="b-localedef">localedef</primary></indexterm> 394 </listitem> 395 </varlistentry> 396 397 <varlistentry id="mtrace"> 398 <term><command>mtrace</command></term> 399 <listitem> 400 <para>Reads and interprets a memory trace file and 401 ouputs a summary in human-readable format</para> 402 <indexterm zone="ch-system-glibc mtrace"><primary sortas="b-mtrace">mtrace</primary></indexterm> 403 </listitem> 404 </varlistentry> 405 406 <varlistentry id="nscd"> 407 <term><command>nscd</command></term> 408 <listitem> 409 <para>A daemon that provides a cache for the most common name 410 service requests</para> 411 <indexterm zone="ch-system-glibc nscd"><primary sortas="b-nscd">nscd</primary></indexterm> 412 </listitem> 413 </varlistentry> 414 415 <varlistentry id="nscd_nischeck"> 416 <term><command>nscd_nischeck</command></term> 417 <listitem> 418 <para>Checks whether or not secure mode is necessary for NIS+ lookup</para> 419 <indexterm zone="ch-system-glibc nscd_nischeck"><primary sortas="b-nscd_nischeck">nscd_nischeck</primary></indexterm> 420 </listitem> 421 </varlistentry> 422 423 <varlistentry id="pcprofiledump"> 424 <term><command>pcprofiledump</command></term> 425 <listitem> 426 <para>Dumps information generated by PC profiling</para> 427 <indexterm zone="ch-system-glibc pcprofiledump"><primary sortas="b-pcprofiledump">pcprofiledump</primary></indexterm> 428 </listitem> 429 </varlistentry> 430 431 <varlistentry id="pt_chown"> 432 <term><command>pt_chown</command></term> 433 <listitem> 434 <para>A helper program for <command>grantpt</command> to set 435 the owner, group and access permissions of a slave pseudo terminal</para> 436 <indexterm zone="ch-system-glibc pt_chown"><primary sortas="b-pt_chown">pt_chown</primary></indexterm> 437 </listitem> 438 </varlistentry> 439 440 <varlistentry id="rpcgen"> 441 <term><command>rpcgen</command></term> 442 <listitem> 443 <para>Generates C code to implement the Remote Procecure Call (RPC) protocol</para> 444 <indexterm zone="ch-system-glibc rpcgen"><primary sortas="b-rpcgen">rpcgen</primary></indexterm> 445 </listitem> 446 </varlistentry> 447 448 <varlistentry id="rpcinfo"> 449 <term><command>rpcinfo</command></term> 450 <listitem> 451 <para>Makes an RPC call to an RPC server</para> 452 <indexterm zone="ch-system-glibc rpcinfo"><primary sortas="b-rpcinfo">rpcinfo</primary></indexterm> 453 </listitem> 454 </varlistentry> 455 456 <varlistentry id="sln"> 457 <term><command>sln</command></term> 458 <listitem> 459 <para>A statically linked <command>ln</command> program</para> 460 <indexterm zone="ch-system-glibc sln"><primary sortas="b-sln">sln</primary></indexterm> 461 </listitem> 462 </varlistentry> 463 464 <varlistentry id="sprof"> 465 <term><command>sprof</command></term> 466 <listitem> 467 <para>Reads and displays shared object profiling data</para> 468 <indexterm zone="ch-system-glibc sprof"><primary sortas="b-sprof">sprof</primary></indexterm> 469 </listitem> 470 </varlistentry> 471 472 <varlistentry id="tzselect"> 473 <term><command>tzselect</command></term> 474 <listitem> 475 <para>Asks the user about the location of the 476 system and reports the corresponding time zone description</para> 477 <indexterm zone="ch-system-glibc tzselect"><primary sortas="b-tzselect">tzselect</primary></indexterm> 478 </listitem> 479 </varlistentry> 480 481 <varlistentry id="xtrace"> 482 <term><command>xtrace</command></term> 483 <listitem> 484 <para>Traces the execution of a program by 485 printing the currently executed function</para> 486 <indexterm zone="ch-system-glibc xtrace"><primary sortas="b-xtrace">xtrace</primary></indexterm> 487 </listitem> 488 </varlistentry> 489 490 <varlistentry id="zdump"> 491 <term><command>zdump</command></term> 492 <listitem> 493 <para>The time zone dumper</para> 494 <indexterm zone="ch-system-glibc zdump"><primary sortas="b-zdump">zdump</primary></indexterm> 495 </listitem> 496 </varlistentry> 497 498 <varlistentry id="zic"> 499 <term><command>zic</command></term> 500 <listitem> 501 <para>The time zone compiler</para> 502 <indexterm zone="ch-system-glibc zic"><primary sortas="b-zic">zic</primary></indexterm> 503 </listitem> 504 </varlistentry> 505 506 <varlistentry id="ld.so"> 507 <term><filename class="libraryfile">ld.so</filename></term> 508 <listitem> 509 <para>The helper program for shared library executables</para> 510 <indexterm zone="ch-system-glibc ld.so"><primary sortas="c-ld.so">ld.so</primary></indexterm> 511 </listitem> 512 </varlistentry> 513 514 <varlistentry id="libBrokenLocale"> 515 <term><filename class="libraryfile">libBrokenLocale</filename></term> 516 <listitem> 517 <para>Used by programs, such as Mozilla, to solve broken locales</para> 518 <indexterm zone="ch-system-glibc libBrokenLocale"><primary sortas="c-libBrokenLocale">libBrokenLocale</primary></indexterm> 519 </listitem> 520 </varlistentry> 521 522 <varlistentry id="libSegFault"> 523 <term><filename class="libraryfile">libSegFault</filename></term> 524 <listitem> 525 <para>The segmentation fault signal handler</para> 526 <indexterm zone="ch-system-glibc libSegFault"><primary sortas="c-libSegFault">libSegFault</primary></indexterm> 527 </listitem> 528 </varlistentry> 529 530 <varlistentry id="libanl"> 531 <term><filename class="libraryfile">libanl</filename></term> 532 <listitem> 533 <para>An asynchronous name lookup library</para> 534 <indexterm zone="ch-system-glibc libanl"><primary sortas="c-libanl">libanl</primary></indexterm> 535 </listitem> 536 </varlistentry> 537 538 <varlistentry id="libbsd-compat"> 539 <term><filename class="libraryfile">libbsd-compat</filename></term> 540 <listitem> 541 <para>Provides the portability needed 542 in order to run certain Berkey Software Distribution (BSD) programs under Linux</para> 543 <indexterm zone="ch-system-glibc libbsd-compat"><primary sortas="c-libbsd-compat">libbsd-compat</primary></indexterm> 544 </listitem> 545 </varlistentry> 546 547 <varlistentry id="libc"> 548 <term><filename class="libraryfile">libc</filename></term> 549 <listitem> 550 <para>The main C library</para> 551 <indexterm zone="ch-system-glibc libc"><primary sortas="c-libc">libc</primary></indexterm> 552 </listitem> 553 </varlistentry> 554 555 <varlistentry id="libcrypt"> 556 <term><filename class="libraryfile">libcrypt</filename></term> 557 <listitem> 558 <para>The cryptography library</para> 559 <indexterm zone="ch-system-glibc libcrypt"><primary sortas="c-libcrypt">libcrypt</primary></indexterm> 560 </listitem> 561 </varlistentry> 562 563 <varlistentry id="libdl"> 564 <term><filename class="libraryfile">libdl</filename></term> 565 <listitem> 566 <para>The dynamic linking interface library</para> 567 <indexterm zone="ch-system-glibc libdl"><primary sortas="c-libdl">libdl</primary></indexterm> 568 </listitem> 569 </varlistentry> 570 571 <varlistentry id="libg"> 572 <term><filename class="libraryfile">libg</filename></term> 573 <listitem> 574 <para>A runtime library for <command>g++</command></para> 575 <indexterm zone="ch-system-glibc libg"><primary sortas="c-libg">libg</primary></indexterm> 576 </listitem> 577 </varlistentry> 578 579 <varlistentry id="libieee"> 580 <term><filename class="libraryfile">libieee</filename></term> 581 <listitem> 582 <para>The Institute of Electrical and Electronic Engineers (IEEE) floating point library</para> 583 <indexterm zone="ch-system-glibc libieee"><primary sortas="c-libieee">libieee</primary></indexterm> 584 </listitem> 585 </varlistentry> 586 587 <varlistentry id="libm"> 588 <term><filename class="libraryfile">libm</filename></term> 589 <listitem> 590 <para>The mathematical library</para> 591 <indexterm zone="ch-system-glibc libm"><primary sortas="c-libm">libm</primary></indexterm> 592 </listitem> 593 </varlistentry> 594 595 <varlistentry id="libmcheck"> 596 <term><filename class="libraryfile">libmcheck</filename></term> 597 <listitem> 598 <para>Contains code run at boot</para> 599 <indexterm zone="ch-system-glibc libmcheck"><primary sortas="c-libmcheck">libmcheck</primary></indexterm> 600 </listitem> 601 </varlistentry> 602 603 <varlistentry id="libmemusage"> 604 <term><filename class="libraryfile">libmemusage</filename></term> 605 <listitem> 606 <para>Used by <command>memusage</command> to help collect 607 information about the memory usage of a program</para> 608 <indexterm zone="ch-system-glibc libmemusage"><primary sortas="c-libmemusage">libmemusage</primary></indexterm> 609 </listitem> 610 </varlistentry> 611 612 <varlistentry id="libnsl"> 613 <term><filename class="libraryfile">libnsl</filename></term> 614 <listitem> 615 <para>The network services library</para> 616 <indexterm zone="ch-system-glibc libnsl"><primary sortas="c-libnsl">libnsl</primary></indexterm> 617 </listitem> 618 </varlistentry> 619 620 <varlistentry id="libnss"> 621 <term><filename class="libraryfile">libnss</filename></term> 622 <listitem> 623 <para>The Name Service Switch libraries, 624 containing functions for resolving host names, user names, group names, 625 aliases, services, protocols, etc</para> 626 <indexterm zone="ch-system-glibc libnss"><primary sortas="c-libnss">libnss</primary></indexterm> 627 </listitem> 628 </varlistentry> 629 630 <varlistentry id="libpcprofile"> 631 <term><filename class="libraryfile">libpcprofile</filename></term> 632 <listitem> 633 <para>Contains profiling functions used 634 to track the amount of CPU time spent in specific source code lines</para> 635 <indexterm zone="ch-system-glibc libpcprofile"><primary sortas="c-libpcprofile">libpcprofile</primary></indexterm> 636 </listitem> 637 </varlistentry> 638 639 <varlistentry id="libpthread"> 640 <term><filename class="libraryfile">libpthread</filename></term> 641 <listitem> 642 <para>The POSIX threads library</para> 643 <indexterm zone="ch-system-glibc libpthread"><primary sortas="c-libpthread">libpthread</primary></indexterm> 644 </listitem> 645 </varlistentry> 646 647 <varlistentry id="libresolv"> 648 <term><filename class="libraryfile">libresolv</filename></term> 649 <listitem> 650 <para>Contains functions for creating, 651 sending, and interpreting packets to the Internet domain name servers</para> 652 <indexterm zone="ch-system-glibc libresolv"><primary sortas="c-libresolv">libresolv</primary></indexterm> 653 </listitem> 654 </varlistentry> 655 656 <varlistentry id="librpcsvc"> 657 <term><filename class="libraryfile">librpcsvc</filename></term> 658 <listitem> 659 <para>Contains functions providing miscellaneous RPC services</para> 660 <indexterm zone="ch-system-glibc librpcsvc"><primary sortas="c-librpcsvc">librpcsvc</primary></indexterm> 661 </listitem> 662 </varlistentry> 663 664 <varlistentry id="librt"> 665 <term><filename class="libraryfile">librt</filename></term> 666 <listitem> 667 <para>Contains functions providing most of the 668 interfaces specified by the POSIX.1b Realtime Extension</para> 669 <indexterm zone="ch-system-glibc librt"><primary sortas="c-librt">librt</primary></indexterm> 670 </listitem> 671 </varlistentry> 672 673 <varlistentry id="libthread_db"> 674 <term><filename class="libraryfile">libthread_db</filename></term> 675 <listitem> 676 <para>Contains functions useful for 677 building debuggers for multi-threaded programs</para> 678 <indexterm zone="ch-system-glibc libthread_db"><primary sortas="c-libthread_db">libthread_db</primary></indexterm> 679 </listitem> 680 </varlistentry> 681 682 <varlistentry id="libutil"> 683 <term><filename class="libraryfile">libutil</filename></term> 684 <listitem> 685 <para>Contains code for <quote>standard</quote> functions used in many different Unix utilities</para> 686 <indexterm zone="ch-system-glibc libutil"><primary sortas="c-libutil">libutil</primary></indexterm> 687 </listitem> 688 </varlistentry> 689 </variablelist> 152 690 153 691 </sect2> 154 692 155 693 </sect1> 694
Note:
See TracChangeset
for help on using the changeset viewer.