glfs/general/genlib/genlib.xml

85 lines
4.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
]>
<!--
$LastChangedBy$
$Date$
-->
<chapter id="general-genlib">
<?dbhtml filename="genlib.html"?>
<title>General Libraries</title>
<para>Libraries contain code which is often required by more than
one program. This has the advantage that each program doesn't need to
duplicate code (and risk introducing bugs), it just has to call
functions from the libraries installed on the system. The most obvious
example of a set of libraries is <application>Glibc</application> which is
installed during the LFS book. This contains all of the
<application>C</application> library functions which programs use.</para>
<para>There are two types of libraries: static and shared. Shared libraries
(usually <filename>libXXX.so</filename>) are loaded into memory from the shared
copy at runtime (hence the name). Static libraries (<filename>libXXX.a
</filename>) are actually linked into the program executable file itself, thus
making the program file larger. Quite often, you will find both static and
shared copies of the same library on your system.</para>
<para>Generally, you only need to install libraries when you are
installing software that needs the functionality they supply. In
the BLFS book, each package is presented with a list of
(known) dependencies. Thus, you can figure out which libraries you need to
have before installing that program. If you are installing something without
using BLFS instructions, usually the <filename>README</filename> or
<filename>INSTALL</filename> file will contain
details of the program's requirements.</para>
<para>There are certain libraries which nearly <emphasis>everyone</emphasis>
will need at some point. In this chapter we list these and some others and
explain why you may want to install them.</para>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pcre.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="popt.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="slang.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gamin.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxml.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxml2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxslt.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libgtkhtml.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gmp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gdbm.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glib.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glib2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libidl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libcroco.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libgsf.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libglade.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="expat.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libesmtp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aspell.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="slib.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gwrap.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="lzo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libusb.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iso-codes.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gmime.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libidn.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libdrm.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="dbus-bindings.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libpthread-stubs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pth.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libassuan.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libgpg-error.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libgcrypt.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libksba.xml"/>
<!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ispell.xml"/> -->
<!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="fam.xml"/> -->
</chapter>