glibc.xml 26 KB

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