[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[8e75f8b9] | 6 | ]>
|
---|
[52d29f7] | 7 |
|
---|
[276015d2] | 8 | <!--
|
---|
| 9 | $LastChangedBy$
|
---|
| 10 | $Date$
|
---|
| 11 | -->
|
---|
| 12 |
|
---|
[f45b1953] | 13 | <chapter id="general-genlib">
|
---|
[03735e97] | 14 | <?dbhtml filename="genlib.html"?>
|
---|
[8e75f8b9] | 15 |
|
---|
[03735e97] | 16 | <title>General Libraries</title>
|
---|
[8e75f8b9] | 17 |
|
---|
[03735e97] | 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
|
---|
[74390482] | 22 | example of a set of libraries is <application>Glibc</application> which is
|
---|
| 23 | installed during the LFS book. This contains all of the
|
---|
[03735e97] | 24 | <application>C</application> library functions which programs use.</para>
|
---|
[8e75f8b9] | 25 |
|
---|
[74390482] | 26 | <para>There are two types of libraries: static and shared. Shared libraries
|
---|
[03735e97] | 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
|
---|
[74390482] | 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
|
---|
[03735e97] | 31 | shared copies of the same library on your system.</para>
|
---|
[8e75f8b9] | 32 |
|
---|
[03735e97] | 33 | <para>Generally, you only need to install libraries when you are
|
---|
| 34 | installing software that needs the functionality they supply. In
|
---|
[74390482] | 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
|
---|
[03735e97] | 40 | details of the program's requirements.</para>
|
---|
[8e75f8b9] | 41 |
|
---|
| 42 | <para>There are certain libraries which nearly <emphasis>everyone</emphasis>
|
---|
[ec64d28] | 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>
|
---|
[8e75f8b9] | 45 |
|
---|
[ce9b131] | 46 | <!-- systemd only -->
|
---|
[827ba01c] | 47 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="appstream-glib.xml"/>-->
|
---|
[ce9b131] | 48 |
|
---|
[7ded7e3] | 49 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr.xml"/>
|
---|
[5851e54] | 50 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr-util.xml"/>
|
---|
[7ded7e3] | 51 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aspell.xml"/>
|
---|
| 52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="boost.xml"/>
|
---|
[7f5a5884] | 53 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clucene.xml"/>
|
---|
[ae96c4b] | 54 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus-glib.xml"/>
|
---|
[7ded7e3] | 55 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="enchant.xml"/>
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="exempi.xml"/>
|
---|
[0e6052db] | 57 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fftw.xml"/>
|
---|
[ce9b131] | 58 |
|
---|
| 59 | <!-- systemd only -->
|
---|
[363f6dc] | 60 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcab.xml"/> -->
|
---|
[ce9b131] | 61 |
|
---|
[e05cd03f] | 62 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glib2.xml"/>
|
---|
| 63 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glibmm.xml"/>
|
---|
[7ded7e3] | 64 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmime.xml"/>
|
---|
[3361e19] | 65 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmime3.xml"/>
|
---|
[7ded7e3] | 66 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gobject-introspection.xml"/>
|
---|
[ed74a9a] | 67 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grantlee.xml"/>
|
---|
[37bea21] | 68 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gsl.xml"/>
|
---|
[e05cd03f] | 69 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="icu.xml"/>
|
---|
[6d03f3e] | 70 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js38.xml"/> -->
|
---|
[b889223] | 71 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js52.xml"/>
|
---|
[7ded7e3] | 72 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-c.xml"/>
|
---|
| 73 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-glib.xml"/>
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="keyutils.xml"/>
|
---|
[5851e54] | 75 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libarchive.xml"/>
|
---|
[7ded7e3] | 76 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libassuan.xml"/>
|
---|
| 77 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libatasmart.xml"/>
|
---|
[b779049] | 78 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libatomic_ops.xml"/>
|
---|
[6dcb9e77] | 79 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libblockdev.xml"/>
|
---|
| 80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libbytesize.xml"/>
|
---|
[7ded7e3] | 81 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcroco.xml"/>
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdaemon.xml"/>
|
---|
[60ddbaf] | 83 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdbusmenuqt.xml"/> -->
|
---|
[7ded7e3] | 84 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libesmtp.xml"/>
|
---|
[60ddbaf] | 85 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/>-->
|
---|
[e05cd03f] | 86 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgcrypt.xml"/>
|
---|
[7ded7e3] | 87 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgpg-error.xml"/>
|
---|
| 88 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgsf.xml"/>
|
---|
[f175d6f6] | 89 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgudev.xml"/>
|
---|
[d6da5da] | 90 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgusb.xml"/>
|
---|
[7ded7e3] | 91 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libical.xml"/>
|
---|
| 92 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libidn.xml"/>
|
---|
[531f138] | 93 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libidn2.xml"/>
|
---|
[5851e54] | 94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libiodbc.xml"/>
|
---|
[e05cd03f] | 95 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libksba.xml"/>
|
---|
[d2bd92f] | 96 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="liblinear.xml"/>
|
---|
[ce9b131] | 97 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libmbim.xml"/>
|
---|
[539d7c54] | 98 |
|
---|
| 99 | <!-- systemd only -->
|
---|
[ce9b131] | 100 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libnfsidmap.xml"/>
|
---|
| 101 |
|
---|
[1ecdb18] | 102 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpaper.xml"/>
|
---|
[ce9b131] | 103 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libqmi.xml"/>
|
---|
| 104 |
|
---|
[11f3b7e] | 105 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libseccomp.xml"/>
|
---|
[7ded7e3] | 106 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsigc++.xml"/>
|
---|
[55d7adc] | 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsigsegv.xml"/>
|
---|
[539d7c54] | 108 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libssh2.xml"/>
|
---|
[58102209] | 109 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libstatgrab.xml"/>
|
---|
[e05cd03f] | 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtasn1.xml"/>
|
---|
[dbcebcf] | 111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libunique.xml"/>
|
---|
[7ded7e3] | 112 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libunistring.xml"/>
|
---|
| 113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libusb.xml"/>
|
---|
| 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libusb-compat.xml"/>
|
---|
[6eb166fa] | 115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libuv.xml"/>
|
---|
[1c8d0ff] | 116 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxkbcommon.xml"/>
|
---|
[7ded7e3] | 117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxml2.xml"/>
|
---|
| 118 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxslt.xml"/>
|
---|
[cbd8ed8] | 119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libwacom.xml"/>
|
---|
[ce9b131] | 120 |
|
---|
| 121 | <!-- systemd only -->
|
---|
| 122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libzeitgeist.xml"/>
|
---|
| 123 |
|
---|
[7ded7e3] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lzo.xml"/>
|
---|
[07c061a6] | 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mtdev.xml"/>
|
---|
[4464d405] | 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nodejs.xml"/>
|
---|
[439d67f] | 127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="npth.xml"/>
|
---|
[e05cd03f] | 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nspr.xml"/>
|
---|
[a12c736d] | 129 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openobex.xml"/> -->
|
---|
[7ded7e3] | 130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pcre.xml"/>
|
---|
[2dbb5526] | 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pcre2.xml"/>
|
---|
[7ded7e3] | 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="popt.xml"/>
|
---|
| 133 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pth.xml"/>
|
---|
[e05cd03f] | 134 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ptlib.xml"/>
|
---|
[7ded7e3] | 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qca.xml"/>
|
---|
[69b2349] | 136 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qjson.xml"/>-->
|
---|
[eeb29511] | 137 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="talloc.xml"/>
|
---|
[ad53d2d0] | 138 |
|
---|
| 139 | <!--systemd only -->
|
---|
| 140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="telepathy-glib.xml"/>
|
---|
| 141 |
|
---|
[f97d5f6] | 142 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wayland.xml"/>
|
---|
[bb59c1a] | 143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wayland-protocols.xml"/>
|
---|
[15114f7] | 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wv.xml"/>
|
---|
[266a547] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xapian.xml"/>
|
---|
[52d29f7] | 146 |
|
---|
[ce9b131] | 147 | <!-- systemd only -->
|
---|
| 148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="yaml.xml"/>
|
---|
[f45b1953] | 149 | </chapter>
|
---|