1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-glibc" role="wrap">
|
---|
9 | <?dbhtml filename="glibc.html"?>
|
---|
10 |
|
---|
11 | <sect1info condition="script">
|
---|
12 | <productname>glibc</productname>
|
---|
13 | <productnumber>&glibc-version;</productnumber>
|
---|
14 | <address>&glibc-url;</address>
|
---|
15 | </sect1info>
|
---|
16 |
|
---|
17 | <title>Glibc-&glibc-version;</title>
|
---|
18 |
|
---|
19 | <indexterm zone="ch-system-glibc">
|
---|
20 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
21 | </indexterm>
|
---|
22 |
|
---|
23 | <sect2 role="package">
|
---|
24 | <title/>
|
---|
25 |
|
---|
26 | <para>The Glibc package contains the main C library. This library provides
|
---|
27 | the basic routines for allocating memory, searching directories, opening and
|
---|
28 | closing files, reading and writing files, string handling, pattern matching,
|
---|
29 | arithmetic, and so on.</para>
|
---|
30 |
|
---|
31 | <segmentedlist>
|
---|
32 | <segtitle>&buildtime;</segtitle>
|
---|
33 | <segtitle>&diskspace;</segtitle>
|
---|
34 |
|
---|
35 | <seglistitem>
|
---|
36 | <seg>&glibc-fin-sbu;</seg>
|
---|
37 | <seg>&glibc-fin-du;</seg>
|
---|
38 | </seglistitem>
|
---|
39 | </segmentedlist>
|
---|
40 |
|
---|
41 | </sect2>
|
---|
42 |
|
---|
43 | <sect2 role="installation">
|
---|
44 | <title>Installation of Glibc</title>
|
---|
45 |
|
---|
46 | <para>First, fix a security problem identified upstream:</para>
|
---|
47 |
|
---|
48 | <screen><userinput remap="pre">sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' \
|
---|
49 | -i sysdeps/unix/sysv/linux/mq_notify.c</userinput></screen>
|
---|
50 |
|
---|
51 | <para>Some of the Glibc programs use the non-FHS compliant
|
---|
52 | <filename class="directory">/var/db</filename> directory to store
|
---|
53 | their runtime data. Apply the following patch to make such programs
|
---|
54 | store their runtime data in the FHS-compliant locations:</para>
|
---|
55 |
|
---|
56 | <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
|
---|
57 |
|
---|
58 | <para>The Glibc documentation recommends building Glibc
|
---|
59 | in a dedicated build directory:</para>
|
---|
60 |
|
---|
61 | <screen><userinput remap="pre">mkdir -v build
|
---|
62 | cd build</userinput></screen>
|
---|
63 |
|
---|
64 | <para>Ensure that the <command>ldconfig</command> and <command>sln</command>
|
---|
65 | utilites will be installed into
|
---|
66 | <filename class="directory">/usr/sbin</filename>:</para>
|
---|
67 |
|
---|
68 | <screen><userinput remap="pre">echo "rootsbindir=/usr/sbin" > configparms</userinput></screen>
|
---|
69 |
|
---|
70 | <para>Prepare Glibc for compilation:</para>
|
---|
71 |
|
---|
72 | <screen><userinput remap="configure">../configure --prefix=/usr \
|
---|
73 | --disable-werror \
|
---|
74 | --enable-kernel=&min-kernel; \
|
---|
75 | --enable-stack-protector=strong \
|
---|
76 | --with-headers=/usr/include \
|
---|
77 | libc_cv_slibdir=/usr/lib</userinput></screen>
|
---|
78 |
|
---|
79 | <variablelist>
|
---|
80 | <title>The meaning of the configure options:</title>
|
---|
81 |
|
---|
82 | <varlistentry>
|
---|
83 | <term><parameter>--disable-werror</parameter></term>
|
---|
84 | <listitem>
|
---|
85 | <para>This option disables the -Werror option passed to
|
---|
86 | GCC. This is necessary for running the test suite.</para>
|
---|
87 | </listitem>
|
---|
88 | </varlistentry>
|
---|
89 |
|
---|
90 | <varlistentry>
|
---|
91 | <term><parameter>--enable-kernel=&min-kernel;</parameter></term>
|
---|
92 | <listitem>
|
---|
93 | <para>This option tells the build system that this glibc may
|
---|
94 | be used with kernels as old as &min-kernel;. This means generating
|
---|
95 | workarounds in case a system call introduced in a later version
|
---|
96 | cannot be used.</para>
|
---|
97 | </listitem>
|
---|
98 | </varlistentry>
|
---|
99 |
|
---|
100 | <varlistentry>
|
---|
101 | <term><parameter>--enable-stack-protector=strong</parameter></term>
|
---|
102 | <listitem>
|
---|
103 | <para>This option increases system security by adding
|
---|
104 | extra code to check for buffer overflows, such as stack
|
---|
105 | smashing attacks.</para>
|
---|
106 | </listitem>
|
---|
107 | </varlistentry>
|
---|
108 | <!-- do we need this one? -->
|
---|
109 | <varlistentry>
|
---|
110 | <term><parameter>--with-headers=/usr/include</parameter></term>
|
---|
111 | <listitem>
|
---|
112 | <para>This option tells the build system where to find the
|
---|
113 | kernel API headers.</para>
|
---|
114 | </listitem>
|
---|
115 | </varlistentry>
|
---|
116 |
|
---|
117 | <varlistentry>
|
---|
118 | <term><parameter>libc_cv_slibdir=/usr/lib</parameter></term>
|
---|
119 | <listitem>
|
---|
120 | <para>This variable sets the correct library for all
|
---|
121 | systems. We do not want lib64 to be used.</para>
|
---|
122 | </listitem>
|
---|
123 | </varlistentry>
|
---|
124 |
|
---|
125 | </variablelist>
|
---|
126 |
|
---|
127 | <para>Compile the package:</para>
|
---|
128 |
|
---|
129 | <screen><userinput remap="make">make</userinput></screen>
|
---|
130 |
|
---|
131 | <important>
|
---|
132 | <para>In this section, the test suite for Glibc is considered critical.
|
---|
133 | Do not skip it under any circumstance.</para>
|
---|
134 | </important>
|
---|
135 |
|
---|
136 | <para>Generally a few tests do not pass. The test failures listed below
|
---|
137 | are usually safe to ignore.</para>
|
---|
138 |
|
---|
139 | <!-- Use remap="make" here to work around a jhalfs issue. -->
|
---|
140 | <!--<screen><userinput remap="make">case $(uname -m) in
|
---|
141 | i?86) ln -sfnv $PWD/elf/ld-linux.so.2 /lib ;;
|
---|
142 | x86_64) ln -sfnv $PWD/elf/ld-linux-x86-64.so.2 /lib ;;
|
---|
143 | esac</userinput></screen>
|
---|
144 |
|
---|
145 | <note><para>The symbolic link above is needed to run the tests at this
|
---|
146 | stage of building in the chroot environment. It will be overwritten
|
---|
147 | in the install phase below.</para></note>
|
---|
148 | -->
|
---|
149 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
150 |
|
---|
151 | <para>You may see some test failures. The Glibc test suite is
|
---|
152 | somewhat dependent on the host system. A few failures out of
|
---|
153 | over 4200 tests can generally be ignored. This is a list of the
|
---|
154 | most common issues seen for recent versions of LFS:</para>
|
---|
155 |
|
---|
156 | <itemizedlist>
|
---|
157 |
|
---|
158 | <listitem>
|
---|
159 | <para><emphasis>io/tst-lchmod</emphasis>
|
---|
160 | is known to fail in the LFS chroot environment.</para>
|
---|
161 | </listitem>
|
---|
162 |
|
---|
163 | <listitem>
|
---|
164 | <para><emphasis>misc/tst-ttyname</emphasis>
|
---|
165 | is known to fail in the LFS chroot environment.</para>
|
---|
166 | </listitem>
|
---|
167 | <!--
|
---|
168 | <listitem>
|
---|
169 | <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis>
|
---|
170 | test may fail for reasons that have not been determined.</para>
|
---|
171 | </listitem>
|
---|
172 |
|
---|
173 | <listitem>
|
---|
174 | <para>The <emphasis>rt/tst-cputimer{1,2,3}</emphasis> tests depend on
|
---|
175 | the host system kernel. Kernels 4.14.91–4.14.96,
|
---|
176 | 4.19.13–4.19.18, and 4.20.0–4.20.5 are known to
|
---|
177 | cause these tests to fail.
|
---|
178 | </para>
|
---|
179 | </listitem>
|
---|
180 |
|
---|
181 | <listitem>
|
---|
182 | <para>The math tests sometimes fail when running on
|
---|
183 | systems where the CPU is not a relatively new Intel or
|
---|
184 | AMD processor.</para>
|
---|
185 | </listitem>
|
---|
186 | -->
|
---|
187 | </itemizedlist>
|
---|
188 |
|
---|
189 | <para>Though it is a harmless message, the install stage of Glibc will
|
---|
190 | complain about the absence of <filename>/etc/ld.so.conf</filename>.
|
---|
191 | Prevent this warning with:</para>
|
---|
192 |
|
---|
193 | <screen><userinput remap="install">touch /etc/ld.so.conf</userinput></screen>
|
---|
194 |
|
---|
195 | <para>Fix the generated Makefile to skip an unneeded sanity check
|
---|
196 | that fails in the LFS partial environment:
|
---|
197 | </para>
|
---|
198 |
|
---|
199 | <screen><userinput remap="install">sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile</userinput></screen>
|
---|
200 |
|
---|
201 | <para>Install the package:</para>
|
---|
202 |
|
---|
203 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
204 |
|
---|
205 | <para>Fix hardcoded path to the executable loader in
|
---|
206 | <command>ldd</command> script:</para>
|
---|
207 |
|
---|
208 | <screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen>
|
---|
209 |
|
---|
210 | <para>Install the configuration file and runtime directory for
|
---|
211 | <command>nscd</command>:</para>
|
---|
212 |
|
---|
213 | <screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf
|
---|
214 | mkdir -pv /var/cache/nscd</userinput></screen>
|
---|
215 |
|
---|
216 | <para revision="systemd">Install the systemd support files for
|
---|
217 | <command>nscd</command>:</para>
|
---|
218 |
|
---|
219 | <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
|
---|
220 | install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen>
|
---|
221 |
|
---|
222 | <para>Next, install the locales that can make the system respond in a
|
---|
223 | different language. None of the locales are required, but if some of them
|
---|
224 | are missing, the test suites of future packages would skip important
|
---|
225 | testcases.</para>
|
---|
226 |
|
---|
227 | <para>Individual locales can be installed using the
|
---|
228 | <command>localedef</command> program. E.g., the first
|
---|
229 | <command>localedef</command> command below combines the
|
---|
230 | <filename>/usr/share/i18n/locales/cs_CZ</filename>
|
---|
231 | charset-independent locale definition with the
|
---|
232 | <filename>/usr/share/i18n/charmaps/UTF-8.gz</filename>
|
---|
233 | charmap definition and appends the result to the
|
---|
234 | <filename>/usr/lib/locale/locale-archive</filename> file.
|
---|
235 | The following instructions will install the minimum set of
|
---|
236 | locales necessary for the optimal coverage of tests:</para>
|
---|
237 |
|
---|
238 | <screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale
|
---|
239 | localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
|
---|
240 | localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
|
---|
241 | localedef -i de_DE -f ISO-8859-1 de_DE
|
---|
242 | localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
|
---|
243 | localedef -i de_DE -f UTF-8 de_DE.UTF-8
|
---|
244 | localedef -i el_GR -f ISO-8859-7 el_GR
|
---|
245 | localedef -i en_GB -f ISO-8859-1 en_GB
|
---|
246 | localedef -i en_GB -f UTF-8 en_GB.UTF-8
|
---|
247 | localedef -i en_HK -f ISO-8859-1 en_HK
|
---|
248 | localedef -i en_PH -f ISO-8859-1 en_PH
|
---|
249 | localedef -i en_US -f ISO-8859-1 en_US
|
---|
250 | localedef -i en_US -f UTF-8 en_US.UTF-8
|
---|
251 | localedef -i es_ES -f ISO-8859-15 es_ES@euro
|
---|
252 | localedef -i es_MX -f ISO-8859-1 es_MX
|
---|
253 | localedef -i fa_IR -f UTF-8 fa_IR
|
---|
254 | localedef -i fr_FR -f ISO-8859-1 fr_FR
|
---|
255 | localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
|
---|
256 | localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
|
---|
257 | localedef -i is_IS -f ISO-8859-1 is_IS
|
---|
258 | localedef -i is_IS -f UTF-8 is_IS.UTF-8
|
---|
259 | localedef -i it_IT -f ISO-8859-1 it_IT
|
---|
260 | localedef -i it_IT -f ISO-8859-15 it_IT@euro
|
---|
261 | localedef -i it_IT -f UTF-8 it_IT.UTF-8
|
---|
262 | localedef -i ja_JP -f EUC-JP ja_JP
|
---|
263 | localedef -i ja_JP -f SHIFT_JIS ja_JP.SIJS 2> /dev/null || true
|
---|
264 | localedef -i ja_JP -f UTF-8 ja_JP.UTF-8
|
---|
265 | localedef -i nl_NL@euro -f ISO-8859-15 nl_NL@euro
|
---|
266 | localedef -i ru_RU -f KOI8-R ru_RU.KOI8-R
|
---|
267 | localedef -i ru_RU -f UTF-8 ru_RU.UTF-8
|
---|
268 | localedef -i se_NO -f UTF-8 se_NO.UTF-8
|
---|
269 | localedef -i ta_IN -f UTF-8 ta_IN.UTF-8
|
---|
270 | localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
|
---|
271 | localedef -i zh_CN -f GB18030 zh_CN.GB18030
|
---|
272 | localedef -i zh_HK -f BIG5-HKSCS zh_HK.BIG5-HKSCS
|
---|
273 | localedef -i zh_TW -f UTF-8 zh_TW.UTF-8</userinput></screen>
|
---|
274 |
|
---|
275 | <para>In addition, install the locale for your own country, language and
|
---|
276 | character set.</para>
|
---|
277 |
|
---|
278 | <para>Alternatively, install all locales listed in the
|
---|
279 | <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
|
---|
280 | (it includes every locale listed above and many more) at once with the
|
---|
281 | following time-consuming command:</para>
|
---|
282 |
|
---|
283 | <screen><userinput remap="locale-full">make localedata/install-locales</userinput></screen>
|
---|
284 |
|
---|
285 | <para>Then use the <command>localedef</command> command to create and
|
---|
286 | install locales not listed in the
|
---|
287 | <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
|
---|
288 | when you need them. For instance, the following two locales are
|
---|
289 | needed for some tests later in this chapter:</para>
|
---|
290 |
|
---|
291 | <screen role="nodump"><userinput remap="locale-full">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
|
---|
292 | localedef -i ja_JP -f SHIFT_JIS ja_JP.SIJS 2> /dev/null || true</userinput></screen>
|
---|
293 |
|
---|
294 | <note><para>Glibc now uses libidn2 when resolving internationalized
|
---|
295 | domain names. This is a run time dependency. If this capability
|
---|
296 | is needed, the instructions for installing libidn2 are in the
|
---|
297 | <ulink url="&blfs-book;general/libidn2.html">BLFS libidn2 page</ulink>.
|
---|
298 | </para></note>
|
---|
299 |
|
---|
300 | </sect2>
|
---|
301 |
|
---|
302 | <sect2 id="conf-glibc" role="configuration">
|
---|
303 | <title>Configuring Glibc</title>
|
---|
304 |
|
---|
305 | <indexterm zone="conf-glibc">
|
---|
306 | <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
|
---|
307 | </indexterm>
|
---|
308 |
|
---|
309 | <indexterm zone="conf-glibc">
|
---|
310 | <primary sortas="e-/etc/localtime">/etc/localtime</primary>
|
---|
311 | </indexterm>
|
---|
312 |
|
---|
313 | <sect3>
|
---|
314 | <title>Adding nsswitch.conf</title>
|
---|
315 |
|
---|
316 | <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
|
---|
317 | because the Glibc defaults do not work well in a networked environment.
|
---|
318 | </para>
|
---|
319 |
|
---|
320 | <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
|
---|
321 | following:</para>
|
---|
322 |
|
---|
323 | <screen><userinput>cat > /etc/nsswitch.conf << "EOF"
|
---|
324 | <literal># Begin /etc/nsswitch.conf
|
---|
325 |
|
---|
326 | passwd: files
|
---|
327 | group: files
|
---|
328 | shadow: files
|
---|
329 |
|
---|
330 | hosts: files dns
|
---|
331 | networks: files
|
---|
332 |
|
---|
333 | protocols: files
|
---|
334 | services: files
|
---|
335 | ethers: files
|
---|
336 | rpc: files
|
---|
337 |
|
---|
338 | # End /etc/nsswitch.conf</literal>
|
---|
339 | EOF</userinput></screen>
|
---|
340 |
|
---|
341 | </sect3>
|
---|
342 |
|
---|
343 | <sect3>
|
---|
344 | <title>Adding time zone data</title>
|
---|
345 |
|
---|
346 | <para>Install and set up the time zone data with the following:</para>
|
---|
347 | <screen><userinput>tar -xf ../../tzdata&tzdata-version;.tar.gz
|
---|
348 |
|
---|
349 | ZONEINFO=/usr/share/zoneinfo
|
---|
350 | mkdir -pv $ZONEINFO/{posix,right}
|
---|
351 |
|
---|
352 | for tz in etcetera southamerica northamerica europe africa antarctica \
|
---|
353 | asia australasia backward; do
|
---|
354 | zic -L /dev/null -d $ZONEINFO ${tz}
|
---|
355 | zic -L /dev/null -d $ZONEINFO/posix ${tz}
|
---|
356 | zic -L leapseconds -d $ZONEINFO/right ${tz}
|
---|
357 | done
|
---|
358 |
|
---|
359 | cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
|
---|
360 | zic -d $ZONEINFO -p America/New_York
|
---|
361 | unset ZONEINFO</userinput></screen>
|
---|
362 |
|
---|
363 | <variablelist>
|
---|
364 | <title>The meaning of the zic commands:</title>
|
---|
365 |
|
---|
366 | <varlistentry>
|
---|
367 | <term><parameter>zic -L /dev/null ...</parameter></term>
|
---|
368 | <listitem>
|
---|
369 | <para>This creates posix time zones without any leap seconds. It is
|
---|
370 | conventional to put these in both
|
---|
371 | <filename class="directory">zoneinfo</filename> and
|
---|
372 | <filename class="directory">zoneinfo/posix</filename>. It is
|
---|
373 | necessary to put the POSIX time zones in
|
---|
374 | <filename class="directory">zoneinfo</filename>, otherwise various
|
---|
375 | test-suites will report errors. On an embedded system, where space is
|
---|
376 | tight and you do not intend to ever update the time zones, you could save
|
---|
377 | 1.9 MB by not using the <filename class="directory">posix</filename>
|
---|
378 | directory, but some applications or test-suites might produce some
|
---|
379 | failures.</para>
|
---|
380 | </listitem>
|
---|
381 | </varlistentry>
|
---|
382 | <varlistentry>
|
---|
383 | <term><parameter>zic -L leapseconds ...</parameter></term>
|
---|
384 | <listitem>
|
---|
385 | <para>This creates right time zones, including leap seconds. On an
|
---|
386 | embedded system, where space is tight and you do not intend to
|
---|
387 | ever update the time zones, or care about the correct time, you could
|
---|
388 | save 1.9MB by omitting the <filename class="directory">right</filename>
|
---|
389 | directory.</para>
|
---|
390 | </listitem>
|
---|
391 | </varlistentry>
|
---|
392 | <varlistentry>
|
---|
393 | <term><parameter>zic ... -p ...</parameter></term>
|
---|
394 | <listitem>
|
---|
395 | <para>This creates the <filename>posixrules</filename> file. We use
|
---|
396 | New York because POSIX requires the daylight savings time rules
|
---|
397 | to be in accordance with US rules.</para>
|
---|
398 | </listitem>
|
---|
399 | </varlistentry>
|
---|
400 | </variablelist>
|
---|
401 |
|
---|
402 |
|
---|
403 | <para>One way to determine the local time zone is to run the following
|
---|
404 | script:</para>
|
---|
405 |
|
---|
406 | <screen role="nodump"><userinput>tzselect</userinput></screen>
|
---|
407 |
|
---|
408 | <para>After answering a few questions about the location, the script will
|
---|
409 | output the name of the time zone (e.g.,
|
---|
410 | <emphasis>America/Edmonton</emphasis>). There are also some other possible
|
---|
411 | time zones listed in <filename
|
---|
412 | class='directory'>/usr/share/zoneinfo</filename> such as
|
---|
413 | <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
|
---|
414 | are not identified by the script but can be used.</para>
|
---|
415 |
|
---|
416 | <para>Then create the <filename>/etc/localtime</filename> file by
|
---|
417 | running:</para>
|
---|
418 |
|
---|
419 | <screen><userinput>ln -sfv /usr/share/zoneinfo/<replaceable><xxx></replaceable> /etc/localtime</userinput></screen>
|
---|
420 |
|
---|
421 | <para>Replace <replaceable><xxx></replaceable> with the name of the
|
---|
422 | time zone selected (e.g., Canada/Eastern).</para>
|
---|
423 |
|
---|
424 | </sect3>
|
---|
425 |
|
---|
426 | <sect3 id="conf-ld" role="configuration">
|
---|
427 | <title>Configuring the Dynamic Loader</title>
|
---|
428 |
|
---|
429 | <indexterm zone="conf-ld">
|
---|
430 | <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
|
---|
431 | </indexterm>
|
---|
432 |
|
---|
433 | <para>By default, the dynamic loader (<filename
|
---|
434 | class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
|
---|
435 | <filename class="directory">/lib</filename> and <filename
|
---|
436 | class="directory">/usr/lib</filename> for dynamic libraries that are
|
---|
437 | needed by programs as they are run. However, if there are libraries in
|
---|
438 | directories other than <filename class="directory">/lib</filename> and
|
---|
439 | <filename class="directory">/usr/lib</filename>, these need to be added
|
---|
440 | to the <filename>/etc/ld.so.conf</filename> file in order for the
|
---|
441 | dynamic loader to find them. Two directories that are commonly known
|
---|
442 | to contain additional libraries are <filename
|
---|
443 | class="directory">/usr/local/lib</filename> and <filename
|
---|
444 | class="directory">/opt/lib</filename>, so add those directories to the
|
---|
445 | dynamic loader's search path.</para>
|
---|
446 |
|
---|
447 | <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
|
---|
448 | following:</para>
|
---|
449 |
|
---|
450 | <screen><userinput>cat > /etc/ld.so.conf << "EOF"
|
---|
451 | <literal># Begin /etc/ld.so.conf
|
---|
452 | /usr/local/lib
|
---|
453 | /opt/lib
|
---|
454 | </literal>
|
---|
455 | EOF</userinput></screen>
|
---|
456 |
|
---|
457 | <para>If desired, the dynamic loader can also search a directory and
|
---|
458 | include the contents of files found there. Generally the files in
|
---|
459 | this include directory are one line specifying the desired library path.
|
---|
460 | To add this capability run the following commands:</para>
|
---|
461 |
|
---|
462 | <screen role="nodump"><userinput>cat >> /etc/ld.so.conf << "EOF"
|
---|
463 | <literal># Add an include directory
|
---|
464 | include /etc/ld.so.conf.d/*.conf
|
---|
465 | </literal>
|
---|
466 | EOF
|
---|
467 | mkdir -pv /etc/ld.so.conf.d</userinput></screen>
|
---|
468 |
|
---|
469 | </sect3>
|
---|
470 | </sect2>
|
---|
471 |
|
---|
472 | <sect2 id="contents-glibc" role="content">
|
---|
473 | <title>Contents of Glibc</title>
|
---|
474 |
|
---|
475 | <segmentedlist>
|
---|
476 | <segtitle>Installed programs</segtitle>
|
---|
477 | <segtitle>Installed libraries</segtitle>
|
---|
478 | <segtitle>Installed directories</segtitle>
|
---|
479 |
|
---|
480 | <seglistitem>
|
---|
481 | <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
|
---|
482 | ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
|
---|
483 | pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
|
---|
484 | zdump, and zic</seg>
|
---|
485 | <seg>ld-linux-x86-64.so.2, ld-linux.so.2,
|
---|
486 | libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
|
---|
487 | libc.{a,so}, libc_nonshared.a,
|
---|
488 | libcrypt.{a,so}, libdl.{a,so.2}, libg.a, libm.{a,so},
|
---|
489 | libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1,
|
---|
490 | libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
|
---|
491 | libpcprofile.so, libpthread.{a,so.0},
|
---|
492 | libresolv.{a,so}, librt.{a,so.1},
|
---|
493 | libthread_db.so, and libutil.{a,so.1}</seg>
|
---|
494 | <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
|
---|
495 | /usr/include/net, /usr/include/netash, /usr/include/netatalk,
|
---|
496 | /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
|
---|
497 | /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
|
---|
498 | /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
|
---|
499 | /usr/include/protocols, /usr/include/rpc,
|
---|
500 | /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
|
---|
501 | /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
|
---|
502 | /var/cache/nscd, and /var/lib/nss_db</seg>
|
---|
503 | </seglistitem>
|
---|
504 | </segmentedlist>
|
---|
505 |
|
---|
506 | <variablelist>
|
---|
507 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
508 | <?dbfo list-presentation="list"?>
|
---|
509 | <?dbhtml list-presentation="table"?>
|
---|
510 |
|
---|
511 | <varlistentry id="catchsegv">
|
---|
512 | <term><command>catchsegv</command></term>
|
---|
513 | <listitem>
|
---|
514 | <para>Can be used to create a stack trace when a program
|
---|
515 | terminates with a segmentation fault</para>
|
---|
516 | <indexterm zone="ch-system-glibc catchsegv">
|
---|
517 | <primary sortas="b-catchsegv">catchsegv</primary>
|
---|
518 | </indexterm>
|
---|
519 | </listitem>
|
---|
520 | </varlistentry>
|
---|
521 |
|
---|
522 | <varlistentry id="gencat">
|
---|
523 | <term><command>gencat</command></term>
|
---|
524 | <listitem>
|
---|
525 | <para>Generates message catalogues</para>
|
---|
526 | <indexterm zone="ch-system-glibc gencat">
|
---|
527 | <primary sortas="b-gencat">gencat</primary>
|
---|
528 | </indexterm>
|
---|
529 | </listitem>
|
---|
530 | </varlistentry>
|
---|
531 |
|
---|
532 | <varlistentry id="getconf">
|
---|
533 | <term><command>getconf</command></term>
|
---|
534 | <listitem>
|
---|
535 | <para>Displays the system configuration values for file system
|
---|
536 | specific variables</para>
|
---|
537 | <indexterm zone="ch-system-glibc getconf">
|
---|
538 | <primary sortas="b-getconf">getconf</primary>
|
---|
539 | </indexterm>
|
---|
540 | </listitem>
|
---|
541 | </varlistentry>
|
---|
542 |
|
---|
543 | <varlistentry id="getent">
|
---|
544 | <term><command>getent</command></term>
|
---|
545 | <listitem>
|
---|
546 | <para>Gets entries from an administrative database</para>
|
---|
547 | <indexterm zone="ch-system-glibc getent">
|
---|
548 | <primary sortas="b-getent">getent</primary>
|
---|
549 | </indexterm>
|
---|
550 | </listitem>
|
---|
551 | </varlistentry>
|
---|
552 |
|
---|
553 | <varlistentry id="iconv">
|
---|
554 | <term><command>iconv</command></term>
|
---|
555 | <listitem>
|
---|
556 | <para>Performs character set conversion</para>
|
---|
557 | <indexterm zone="ch-system-glibc iconv">
|
---|
558 | <primary sortas="b-iconv">iconv</primary>
|
---|
559 | </indexterm>
|
---|
560 | </listitem>
|
---|
561 | </varlistentry>
|
---|
562 |
|
---|
563 | <varlistentry id="iconvconfig">
|
---|
564 | <term><command>iconvconfig</command></term>
|
---|
565 | <listitem>
|
---|
566 | <para>Creates fastloading <command>iconv</command> module configuration
|
---|
567 | files</para>
|
---|
568 | <indexterm zone="ch-system-glibc iconvconfig">
|
---|
569 | <primary sortas="b-iconvconfig">iconvconfig</primary>
|
---|
570 | </indexterm>
|
---|
571 | </listitem>
|
---|
572 | </varlistentry>
|
---|
573 |
|
---|
574 | <varlistentry id="ldconfig">
|
---|
575 | <term><command>ldconfig</command></term>
|
---|
576 | <listitem>
|
---|
577 | <para>Configures the dynamic linker runtime bindings</para>
|
---|
578 | <indexterm zone="ch-system-glibc ldconfig">
|
---|
579 | <primary sortas="b-ldconfig">ldconfig</primary>
|
---|
580 | </indexterm>
|
---|
581 | </listitem>
|
---|
582 | </varlistentry>
|
---|
583 |
|
---|
584 | <varlistentry id="ldd">
|
---|
585 | <term><command>ldd</command></term>
|
---|
586 | <listitem>
|
---|
587 | <para>Reports which shared libraries are required
|
---|
588 | by each given program or shared library</para>
|
---|
589 | <indexterm zone="ch-system-glibc ldd">
|
---|
590 | <primary sortas="b-ldd">ldd</primary>
|
---|
591 | </indexterm>
|
---|
592 | </listitem>
|
---|
593 | </varlistentry>
|
---|
594 |
|
---|
595 | <varlistentry id="lddlibc4">
|
---|
596 | <term><command>lddlibc4</command></term>
|
---|
597 | <listitem>
|
---|
598 | <para>Assists <command>ldd</command> with object files</para>
|
---|
599 | <indexterm zone="ch-system-glibc lddlibc4">
|
---|
600 | <primary sortas="b-lddlibc4">lddlibc4</primary>
|
---|
601 | </indexterm>
|
---|
602 | </listitem>
|
---|
603 | </varlistentry>
|
---|
604 |
|
---|
605 | <varlistentry id="locale">
|
---|
606 | <term><command>locale</command></term>
|
---|
607 | <listitem>
|
---|
608 | <para>Prints various information about the current locale</para>
|
---|
609 | <indexterm zone="ch-system-glibc locale">
|
---|
610 | <primary sortas="b-locale">locale</primary>
|
---|
611 | </indexterm>
|
---|
612 | </listitem>
|
---|
613 | </varlistentry>
|
---|
614 |
|
---|
615 | <varlistentry id="localedef">
|
---|
616 | <term><command>localedef</command></term>
|
---|
617 | <listitem>
|
---|
618 | <para>Compiles locale specifications</para>
|
---|
619 | <indexterm zone="ch-system-glibc localedef">
|
---|
620 | <primary sortas="b-localedef">localedef</primary>
|
---|
621 | </indexterm>
|
---|
622 | </listitem>
|
---|
623 | </varlistentry>
|
---|
624 |
|
---|
625 | <varlistentry id="makedb">
|
---|
626 | <term><command>makedb</command></term>
|
---|
627 | <listitem>
|
---|
628 | <para>Creates a simple database from textual input</para>
|
---|
629 | <indexterm zone="ch-system-glibc makedb">
|
---|
630 | <primary sortas="b-makedb">makedb</primary>
|
---|
631 | </indexterm>
|
---|
632 | </listitem>
|
---|
633 | </varlistentry>
|
---|
634 |
|
---|
635 | <varlistentry id="mtrace">
|
---|
636 | <term><command>mtrace</command></term>
|
---|
637 | <listitem>
|
---|
638 | <para>Reads and interprets a memory trace file and displays a summary
|
---|
639 | in human-readable format</para>
|
---|
640 | <indexterm zone="ch-system-glibc mtrace">
|
---|
641 | <primary sortas="b-mtrace">mtrace</primary>
|
---|
642 | </indexterm>
|
---|
643 | </listitem>
|
---|
644 | </varlistentry>
|
---|
645 |
|
---|
646 | <varlistentry id="nscd">
|
---|
647 | <term><command>nscd</command></term>
|
---|
648 | <listitem>
|
---|
649 | <para>A daemon that provides a cache for the most common name
|
---|
650 | service requests</para>
|
---|
651 | <indexterm zone="ch-system-glibc nscd">
|
---|
652 | <primary sortas="b-nscd">nscd</primary>
|
---|
653 | </indexterm>
|
---|
654 | </listitem>
|
---|
655 | </varlistentry>
|
---|
656 |
|
---|
657 | <varlistentry id="pcprofiledump">
|
---|
658 | <term><command>pcprofiledump</command></term>
|
---|
659 | <listitem>
|
---|
660 | <para>Dump information generated by PC profiling</para>
|
---|
661 | <indexterm zone="ch-system-glibc pcprofiledump">
|
---|
662 | <primary sortas="b-pcprofiledump">pcprofiledump</primary>
|
---|
663 | </indexterm>
|
---|
664 | </listitem>
|
---|
665 | </varlistentry>
|
---|
666 |
|
---|
667 | <varlistentry id="pldd">
|
---|
668 | <term><command>pldd</command></term>
|
---|
669 | <listitem>
|
---|
670 | <para>Lists dynamic shared objects used by running processes</para>
|
---|
671 | <indexterm zone="ch-system-glibc pldd">
|
---|
672 | <primary sortas="b-pldd">pldd</primary>
|
---|
673 | </indexterm>
|
---|
674 | </listitem>
|
---|
675 | </varlistentry>
|
---|
676 |
|
---|
677 | <varlistentry id="sln">
|
---|
678 | <term><command>sln</command></term>
|
---|
679 | <listitem>
|
---|
680 | <para>A statically linked <command>ln</command> program</para>
|
---|
681 | <indexterm zone="ch-system-glibc sln">
|
---|
682 | <primary sortas="b-sln">sln</primary>
|
---|
683 | </indexterm>
|
---|
684 | </listitem>
|
---|
685 | </varlistentry>
|
---|
686 |
|
---|
687 | <varlistentry id="sotruss">
|
---|
688 | <term><command>sotruss</command></term>
|
---|
689 | <listitem>
|
---|
690 | <para>Traces shared library procedure calls of a specified command</para>
|
---|
691 | <indexterm zone="ch-system-glibc sotruss">
|
---|
692 | <primary sortas="b-sotruss">sotruss</primary>
|
---|
693 | </indexterm>
|
---|
694 | </listitem>
|
---|
695 | </varlistentry>
|
---|
696 |
|
---|
697 | <varlistentry id="sprof">
|
---|
698 | <term><command>sprof</command></term>
|
---|
699 | <listitem>
|
---|
700 | <para>Reads and displays shared object profiling data</para>
|
---|
701 | <indexterm zone="ch-system-glibc sprof">
|
---|
702 | <primary sortas="b-sprof">sprof</primary>
|
---|
703 | </indexterm>
|
---|
704 | </listitem>
|
---|
705 | </varlistentry>
|
---|
706 |
|
---|
707 | <varlistentry id="tzselect">
|
---|
708 | <term><command>tzselect</command></term>
|
---|
709 | <listitem>
|
---|
710 | <para>Asks the user about the location of the system and reports
|
---|
711 | the corresponding time zone description</para>
|
---|
712 | <indexterm zone="ch-system-glibc tzselect">
|
---|
713 | <primary sortas="b-tzselect">tzselect</primary>
|
---|
714 | </indexterm>
|
---|
715 | </listitem>
|
---|
716 | </varlistentry>
|
---|
717 |
|
---|
718 | <varlistentry id="xtrace">
|
---|
719 | <term><command>xtrace</command></term>
|
---|
720 | <listitem>
|
---|
721 | <para>Traces the execution of a program by printing the currently
|
---|
722 | executed function</para>
|
---|
723 | <indexterm zone="ch-system-glibc xtrace">
|
---|
724 | <primary sortas="b-xtrace">xtrace</primary>
|
---|
725 | </indexterm>
|
---|
726 | </listitem>
|
---|
727 | </varlistentry>
|
---|
728 |
|
---|
729 | <varlistentry id="zdump">
|
---|
730 | <term><command>zdump</command></term>
|
---|
731 | <listitem>
|
---|
732 | <para>The time zone dumper</para>
|
---|
733 | <indexterm zone="ch-system-glibc zdump">
|
---|
734 | <primary sortas="b-zdump">zdump</primary>
|
---|
735 | </indexterm>
|
---|
736 | </listitem>
|
---|
737 | </varlistentry>
|
---|
738 |
|
---|
739 | <varlistentry id="zic">
|
---|
740 | <term><command>zic</command></term>
|
---|
741 | <listitem>
|
---|
742 | <para>The time zone compiler</para>
|
---|
743 | <indexterm zone="ch-system-glibc zic">
|
---|
744 | <primary sortas="b-zic">zic</primary>
|
---|
745 | </indexterm>
|
---|
746 | </listitem>
|
---|
747 | </varlistentry>
|
---|
748 |
|
---|
749 | <varlistentry id="ld.so">
|
---|
750 | <term><filename class="libraryfile">ld-*.so</filename></term>
|
---|
751 | <listitem>
|
---|
752 | <para>The helper program for shared library executables</para>
|
---|
753 | <indexterm zone="ch-system-glibc ld.so">
|
---|
754 | <primary sortas="c-ld.so">ld-&glibc-version;.so</primary>
|
---|
755 | </indexterm>
|
---|
756 | </listitem>
|
---|
757 | </varlistentry>
|
---|
758 |
|
---|
759 | <varlistentry id="libBrokenLocale">
|
---|
760 | <term><filename class="libraryfile">libBrokenLocale</filename></term>
|
---|
761 | <listitem>
|
---|
762 | <para>Used internally by Glibc as a gross hack to get broken programs
|
---|
763 | (e.g., some Motif applications) running. See comments in
|
---|
764 | <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
|
---|
765 | for more information</para>
|
---|
766 | <indexterm zone="ch-system-glibc libBrokenLocale">
|
---|
767 | <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
|
---|
768 | </indexterm>
|
---|
769 | </listitem>
|
---|
770 | </varlistentry>
|
---|
771 |
|
---|
772 | <varlistentry id="libSegFault">
|
---|
773 | <term><filename class="libraryfile">libSegFault</filename></term>
|
---|
774 | <listitem>
|
---|
775 | <para>The segmentation fault signal handler, used by
|
---|
776 | <command>catchsegv</command></para>
|
---|
777 | <indexterm zone="ch-system-glibc libSegFault">
|
---|
778 | <primary sortas="c-libSegFault">libSegFault</primary>
|
---|
779 | </indexterm>
|
---|
780 | </listitem>
|
---|
781 | </varlistentry>
|
---|
782 |
|
---|
783 | <varlistentry id="libanl">
|
---|
784 | <term><filename class="libraryfile">libanl</filename></term>
|
---|
785 | <listitem>
|
---|
786 | <para>An asynchronous name lookup library</para>
|
---|
787 | <indexterm zone="ch-system-glibc libanl">
|
---|
788 | <primary sortas="c-libanl">libanl</primary>
|
---|
789 | </indexterm>
|
---|
790 | </listitem>
|
---|
791 | </varlistentry>
|
---|
792 |
|
---|
793 | <varlistentry id="libc">
|
---|
794 | <term><filename class="libraryfile">libc</filename></term>
|
---|
795 | <listitem>
|
---|
796 | <para>The main C library</para>
|
---|
797 | <indexterm zone="ch-system-glibc libc">
|
---|
798 | <primary sortas="c-libc">libc</primary>
|
---|
799 | </indexterm>
|
---|
800 | </listitem>
|
---|
801 | </varlistentry>
|
---|
802 |
|
---|
803 | <varlistentry id="libcrypt">
|
---|
804 | <term><filename class="libraryfile">libcrypt</filename></term>
|
---|
805 | <listitem>
|
---|
806 | <para>The cryptography library</para>
|
---|
807 | <indexterm zone="ch-system-glibc libcrypt">
|
---|
808 | <primary sortas="c-libcrypt">libcrypt</primary>
|
---|
809 | </indexterm>
|
---|
810 | </listitem>
|
---|
811 | </varlistentry>
|
---|
812 |
|
---|
813 | <varlistentry id="libdl">
|
---|
814 | <term><filename class="libraryfile">libdl</filename></term>
|
---|
815 | <listitem>
|
---|
816 | <para>Dummy library containing no functions. Previously was the
|
---|
817 | dynamic linking interface library, whose functions are now in
|
---|
818 | <filename class="libraryfile">libc</filename></para>
|
---|
819 | <indexterm zone="ch-system-glibc libdl">
|
---|
820 | <primary sortas="c-libdl">libdl</primary>
|
---|
821 | </indexterm>
|
---|
822 | </listitem>
|
---|
823 | </varlistentry>
|
---|
824 |
|
---|
825 | <varlistentry id="libg">
|
---|
826 | <term><filename class="libraryfile">libg</filename></term>
|
---|
827 | <listitem>
|
---|
828 | <para>Dummy library containing no functions. Previously was a runtime
|
---|
829 | library for <command>g++</command></para>
|
---|
830 | <indexterm zone="ch-system-glibc libg">
|
---|
831 | <primary sortas="c-libg">libg</primary>
|
---|
832 | </indexterm>
|
---|
833 | </listitem>
|
---|
834 | </varlistentry>
|
---|
835 |
|
---|
836 | <varlistentry id="libm">
|
---|
837 | <term><filename class="libraryfile">libm</filename></term>
|
---|
838 | <listitem>
|
---|
839 | <para>The mathematical library</para>
|
---|
840 | <indexterm zone="ch-system-glibc libm">
|
---|
841 | <primary sortas="c-libm">libm</primary>
|
---|
842 | </indexterm>
|
---|
843 | </listitem>
|
---|
844 | </varlistentry>
|
---|
845 |
|
---|
846 | <varlistentry id="libmcheck">
|
---|
847 | <term><filename class="libraryfile">libmcheck</filename></term>
|
---|
848 | <listitem>
|
---|
849 | <para>Turns on memory allocation checking when linked to</para>
|
---|
850 | <indexterm zone="ch-system-glibc libmcheck">
|
---|
851 | <primary sortas="c-libmcheck">libmcheck</primary>
|
---|
852 | </indexterm>
|
---|
853 | </listitem>
|
---|
854 | </varlistentry>
|
---|
855 |
|
---|
856 | <varlistentry id="libmemusage">
|
---|
857 | <term><filename class="libraryfile">libmemusage</filename></term>
|
---|
858 | <listitem>
|
---|
859 | <para>Used by <command>memusage</command> to help collect
|
---|
860 | information about the memory usage of a program</para>
|
---|
861 | <indexterm zone="ch-system-glibc libmemusage">
|
---|
862 | <primary sortas="c-libmemusage">libmemusage</primary>
|
---|
863 | </indexterm>
|
---|
864 | </listitem>
|
---|
865 | </varlistentry>
|
---|
866 |
|
---|
867 | <varlistentry id="libnsl">
|
---|
868 | <term><filename class="libraryfile">libnsl</filename></term>
|
---|
869 | <listitem>
|
---|
870 | <para>The network services library, now deprecated</para>
|
---|
871 | <indexterm zone="ch-system-glibc libnsl">
|
---|
872 | <primary sortas="c-libnsl">libnsl</primary>
|
---|
873 | </indexterm>
|
---|
874 | </listitem>
|
---|
875 | </varlistentry>
|
---|
876 |
|
---|
877 | <varlistentry id="libnss">
|
---|
878 | <term><filename class="libraryfile">libnss</filename></term>
|
---|
879 | <listitem>
|
---|
880 | <para>The Name Service Switch libraries, containing functions for
|
---|
881 | resolving host names, user names, group names, aliases, services,
|
---|
882 | protocols, etc.</para>
|
---|
883 | <indexterm zone="ch-system-glibc libnss">
|
---|
884 | <primary sortas="c-libnss">libnss</primary>
|
---|
885 | </indexterm>
|
---|
886 | </listitem>
|
---|
887 | </varlistentry>
|
---|
888 |
|
---|
889 | <varlistentry id="libpcprofile">
|
---|
890 | <term><filename class="libraryfile">libpcprofile</filename></term>
|
---|
891 | <listitem>
|
---|
892 | <para>Can be preloaded to PC profile an executable</para>
|
---|
893 | <indexterm zone="ch-system-glibc libpcprofile">
|
---|
894 | <primary sortas="c-libpcprofile">libpcprofile</primary>
|
---|
895 | </indexterm>
|
---|
896 | </listitem>
|
---|
897 | </varlistentry>
|
---|
898 |
|
---|
899 | <varlistentry id="libpthread">
|
---|
900 | <term><filename class="libraryfile">libpthread</filename></term>
|
---|
901 | <listitem>
|
---|
902 | <para>Dummy library containing no functions. Previously contained
|
---|
903 | functions providing most of the interfaces specified
|
---|
904 | by the POSIX.1b Realtime Extension, now the functions are in
|
---|
905 | <filename class="libraryfile">libc</filename></para>
|
---|
906 | <indexterm zone="ch-system-glibc libpthread">
|
---|
907 | <primary sortas="c-libpthread">libpthread</primary>
|
---|
908 | </indexterm>
|
---|
909 | </listitem>
|
---|
910 | </varlistentry>
|
---|
911 |
|
---|
912 | <varlistentry id="libresolv">
|
---|
913 | <term><filename class="libraryfile">libresolv</filename></term>
|
---|
914 | <listitem>
|
---|
915 | <para>Contains functions for creating, sending, and interpreting
|
---|
916 | packets to the Internet domain name servers</para>
|
---|
917 | <indexterm zone="ch-system-glibc libresolv">
|
---|
918 | <primary sortas="c-libresolv">libresolv</primary>
|
---|
919 | </indexterm>
|
---|
920 | </listitem>
|
---|
921 | </varlistentry>
|
---|
922 |
|
---|
923 | <varlistentry id="librt">
|
---|
924 | <term><filename class="libraryfile">librt</filename></term>
|
---|
925 | <listitem>
|
---|
926 | <para>Contains functions providing most of the interfaces specified
|
---|
927 | by the POSIX.1b Realtime Extension</para>
|
---|
928 | <indexterm zone="ch-system-glibc librt">
|
---|
929 | <primary sortas="c-librt">librt</primary>
|
---|
930 | </indexterm>
|
---|
931 | </listitem>
|
---|
932 | </varlistentry>
|
---|
933 |
|
---|
934 | <varlistentry id="libthread_db">
|
---|
935 | <term><filename class="libraryfile">libthread_db</filename></term>
|
---|
936 | <listitem>
|
---|
937 | <para>Contains functions useful for building debuggers for
|
---|
938 | multi-threaded programs</para>
|
---|
939 | <indexterm zone="ch-system-glibc libthread_db">
|
---|
940 | <primary sortas="c-libthread_db">libthread_db</primary>
|
---|
941 | </indexterm>
|
---|
942 | </listitem>
|
---|
943 | </varlistentry>
|
---|
944 |
|
---|
945 | <varlistentry id="libutil">
|
---|
946 | <term><filename class="libraryfile">libutil</filename></term>
|
---|
947 | <listitem>
|
---|
948 | <para>Dummy library containing no functions. Previously contained
|
---|
949 | code for <quote>standard</quote> functions used in
|
---|
950 | many different Unix utilities. These functions are now in
|
---|
951 | <filename class="libraryfile">libc</filename></para>
|
---|
952 | <indexterm zone="ch-system-glibc libutil">
|
---|
953 | <primary sortas="c-libutil">libutil</primary>
|
---|
954 | </indexterm>
|
---|
955 | </listitem>
|
---|
956 | </varlistentry>
|
---|
957 |
|
---|
958 | </variablelist>
|
---|
959 |
|
---|
960 | </sect2>
|
---|
961 |
|
---|
962 | </sect1>
|
---|