1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE chapter 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 | <!--
|
---|
9 | $LastChangedBy$
|
---|
10 | $Date$
|
---|
11 | -->
|
---|
12 |
|
---|
13 | <chapter id="general-genlib">
|
---|
14 | <?dbhtml filename="genlib.html"?>
|
---|
15 |
|
---|
16 | <title>General Libraries</title>
|
---|
17 |
|
---|
18 | <para>Libraries contain code which is often required by more than
|
---|
19 | one program. This has the advantage that each program doesn't need to
|
---|
20 | duplicate code (and risk introducing bugs), it just has to call
|
---|
21 | functions from the libraries installed on the system. The most obvious
|
---|
22 | example of a set of libraries is <application>Glibc</application> which is
|
---|
23 | installed during the LFS book. This contains all of the
|
---|
24 | <application>C</application> library functions which programs use.</para>
|
---|
25 |
|
---|
26 | <para>There are two types of libraries: static and shared. Shared libraries
|
---|
27 | (usually <filename>libXXX.so</filename>) are loaded into memory from the shared
|
---|
28 | copy at runtime (hence the name). Static libraries (<filename>libXXX.a
|
---|
29 | </filename>) are actually linked into the program executable file itself, thus
|
---|
30 | making the program file larger. Quite often, you will find both static and
|
---|
31 | shared copies of the same library on your system.</para>
|
---|
32 |
|
---|
33 | <para>Generally, you only need to install libraries when you are
|
---|
34 | installing software that needs the functionality they supply. In
|
---|
35 | the BLFS book, each package is presented with a list of
|
---|
36 | (known) dependencies. Thus, you can figure out which libraries you need to
|
---|
37 | have before installing that program. If you are installing something without
|
---|
38 | using BLFS instructions, usually the <filename>README</filename> or
|
---|
39 | <filename>INSTALL</filename> file will contain
|
---|
40 | details of the program's requirements.</para>
|
---|
41 |
|
---|
42 | <para>There are certain libraries which nearly <emphasis>everyone</emphasis>
|
---|
43 | will need at some point. In this chapter these and some others are listed and
|
---|
44 | it is explained why you may want to install them.</para>
|
---|
45 |
|
---|
46 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr.xml"/>
|
---|
47 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aspell.xml"/>
|
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="boost.xml"/>
|
---|
49 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus-glib.xml"/>
|
---|
50 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="enchant.xml"/>
|
---|
51 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="exempi.xml"/>
|
---|
52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expat.xml"/>
|
---|
53 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gamin.xml"/>
|
---|
54 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glib2.xml"/>
|
---|
55 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glibmm.xml"/>
|
---|
56 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmime.xml"/>
|
---|
57 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gobject-introspection.xml"/>
|
---|
58 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gsl.xml"/>
|
---|
59 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="icu.xml"/>
|
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iso-codes.xml"/>
|
---|
61 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-c.xml"/>
|
---|
62 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-glib.xml"/>
|
---|
63 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="keyutils.xml"/>
|
---|
64 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libassuan.xml"/>
|
---|
65 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libatasmart.xml"/>
|
---|
66 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libatomic_ops.xml"/>
|
---|
67 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcroco.xml"/>
|
---|
68 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdaemon.xml"/>
|
---|
69 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdbusmenuqt.xml"/>
|
---|
70 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdrm.xml"/>
|
---|
71 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libesmtp.xml"/>
|
---|
72 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/>
|
---|
73 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgcrypt.xml"/>
|
---|
74 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgee.xml"/>
|
---|
75 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libglade.xml"/>
|
---|
76 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgpg-error.xml"/>
|
---|
77 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgsf.xml"/>
|
---|
78 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgusb.xml"/>
|
---|
79 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libical.xml"/>
|
---|
80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libidl.xml"/>
|
---|
81 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libidn.xml"/>
|
---|
82 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libksba.xml"/>
|
---|
83 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsigc++.xml"/>
|
---|
84 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtasn1.xml"/>
|
---|
85 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libunistring.xml"/>
|
---|
86 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libusb.xml"/>
|
---|
87 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libusb-compat.xml"/>
|
---|
88 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxml2.xml"/>
|
---|
89 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxslt.xml"/>
|
---|
90 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libzeitgeist.xml"/>
|
---|
91 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lzo.xml"/>
|
---|
92 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mtdev.xml"/>
|
---|
93 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nspr.xml"/>
|
---|
94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openobex.xml"/>
|
---|
95 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pcre.xml"/>
|
---|
96 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="popt.xml"/>
|
---|
97 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pth.xml"/>
|
---|
98 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ptlib.xml"/>
|
---|
99 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qca.xml"/>
|
---|
100 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qjson.xml"/>
|
---|
101 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sbc.xml"/>
|
---|
102 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="slib.xml"/>
|
---|
103 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="talloc.xml"/>
|
---|
104 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wv.xml"/>
|
---|
105 |
|
---|
106 | </chapter>
|
---|