glibc.xml 26 KB

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