Changeset 03735e97


Ignore:
Timestamp:
05/01/2005 09:51:42 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
df040286
Parents:
ce1d4c88
Message:

Tagged genlib.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3900 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/genlib.xml

    rce1d4c88 r03735e97  
    77
    88<chapter id="general-genlib">
    9 <?dbhtml filename="genlib.html"?>
    10 <title>General Libraries</title>
    11 
    12 <para>Libraries contain code which is often required by more than
    13 one program.  This has the advantage that each program doesn't need to
    14 duplicate code (and risk introducing bugs), it just has to call
    15 functions from the libraries installed on the system.  The most obvious
    16 example of a set of libraries is <application>Glibc</application> which is
    17 installed during the <acronym>LFS</acronym> book.  This contains all of
    18 the <application>C</application> library functions which programs use.</para>
    19 
    20 <para>There are two types of libraries: static and shared.  Shared libraries
    21 (usually <filename>libXXX.so</filename>) are loaded into memory from the shared
    22 copy at runtime (hence the name).  Static libraries (<filename>libXXX.a
    23 </filename>) are actually linked into the program executable file itself, thus
    24 making the program file larger.  Quite often, you will find both static and
    25 shared copies of the same library on your system.</para>
    26 
    27 <para>Generally, you only need to install libraries when you are
    28 installing software that needs the functionality they supply.  In
    29 the <acronym>BLFS</acronym> book, each package is presented with a list of
    30 (known) dependencies.  Thus, you can figure out which libraries you need to
    31 have before installing that program.  If you are installing something without
    32 using <acronym>BLFS</acronym> instructions, usually the
    33 <filename>README</filename> or <filename>INSTALL</filename> file will contain
    34 details of the program's requirements.</para>
    35 
    36 <para>There are certain libraries which nearly <emphasis>everyone</emphasis>
    37 will need at some point.  In this chapter we list these and some others and
    38 explain why you may want to install them.</para>
    39 
    40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pcre.xml"/>
    41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="popt.xml"/>
    42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="slang.xml"/>
    43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="fam.xml"/>
    44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxml.xml"/>
    45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxml2.xml"/>
    46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxslt.xml"/>
    47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gmp.xml"/>
    48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gdbm.xml"/>
    49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glib.xml"/>
    50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glib2.xml"/>
    51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libidl.xml"/>
    52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libcroco.xml"/>
    53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libgsf.xml"/>
    54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libglade.xml"/>
    55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="expat.xml"/>
    56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libesmtp.xml"/>
    57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aspell.xml"/>
    58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ispell.xml"/>
    59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="slib.xml"/>
    60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gwrap.xml"/>
    61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="lzo.xml"/>
    62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libpcap.xml"/>
    63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libusb.xml"/>
     9  <?dbhtml filename="genlib.html"?>
     10 
     11  <title>General Libraries</title>
     12 
     13  <para>Libraries contain code which is often required by more than
     14  one program.  This has the advantage that each program doesn't need to
     15  duplicate code (and risk introducing bugs), it just has to call
     16  functions from the libraries installed on the system.  The most obvious
     17  example of a set of libraries is <application>Glibc</application> which is
     18  installed during the LFS book.  This contains all of the
     19  <application>C</application> library functions which programs use.</para>
     20 
     21  <para>There are two types of libraries: static and shared.  Shared libraries
     22  (usually <filename>libXXX.so</filename>) are loaded into memory from the shared
     23  copy at runtime (hence the name).  Static libraries (<filename>libXXX.a
     24  </filename>) are actually linked into the program executable file itself, thus
     25  making the program file larger.  Quite often, you will find both static and
     26  shared copies of the same library on your system.</para>
     27 
     28  <para>Generally, you only need to install libraries when you are
     29  installing software that needs the functionality they supply.  In
     30  the BLFS book, each package is presented with a list of
     31  (known) dependencies.  Thus, you can figure out which libraries you need to
     32  have before installing that program.  If you are installing something without
     33  using BLFS instructions, usually the <filename>README</filename> or
     34  <filename>INSTALL</filename> file will contain
     35  details of the program's requirements.</para>
     36 
     37  <para>There are certain libraries which nearly <emphasis>everyone</emphasis>
     38  will need at some point.  In this chapter we list these and some others and
     39  explain why you may want to install them.</para>
     40 
     41  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pcre.xml"/>
     42  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="popt.xml"/>
     43  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="slang.xml"/>
     44  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="fam.xml"/>
     45  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxml.xml"/>
     46  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxml2.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxslt.xml"/>
     48  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gmp.xml"/>
     49  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gdbm.xml"/>
     50  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glib.xml"/>
     51  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glib2.xml"/>
     52  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libidl.xml"/>
     53  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libcroco.xml"/>
     54  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libgsf.xml"/>
     55  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libglade.xml"/>
     56  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="expat.xml"/>
     57  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libesmtp.xml"/>
     58  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aspell.xml"/>
     59  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ispell.xml"/>
     60  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="slib.xml"/>
     61  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gwrap.xml"/>
     62  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="lzo.xml"/>
     63  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libpcap.xml"/>
     64  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libusb.xml"/>
    6465
    6566</chapter>
Note: See TracChangeset for help on using the changeset viewer.