glibc.xml 25 KB

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