source: general/genlib/genlib.xml@ 25357c89

initial-import reorg
Last change on this file since 25357c89 was f45b1953, checked in by Mark Hymers <markh@…>, 22 years ago

Initial revision

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

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<chapter id="general-genlib">
2<?dbhtml filename="genlib.html" dir="general"?>
3<title>General Libraries</title>
4
5<para>Libraries contain code which is often required by more than
6one program. This has the advantage that each program doesn't need to
7duplicate code (and risk introducing bugs), it just has to call
8functions from the libraries installed on the system. The most obvious
9example of a set of libraries is glibc which is installed during the LFS
10book. This contains all of the C library functions which programs
11use.</para>
12
13<para>There are two types of library, static and shared. Shared
14libraries (usually libXXX.so) are loaded into memory from the shared
15copy at runtime (hence the name). Static libraries (libXXX.a) are
16actually linked into the program executable file itself, thus making the
17program file larger. Quite often, you will find both static and shared
18copies of the same library on your system.</para>
19
20<para>Generally, you only need to install libraries when you are
21installing software which requires functionality which they supply. In
22the BLFS book, each package is listed with a list of (known)
23dependencies. Thus, you can figure out which libraries you need to have
24before installing that program. If you are installing something without
25using BLFS instructions, usually the <filename>README</filename> or
26<filename>INSTALL</filename> file will contain details of the programs
27requirements.</para>
28
29<para>There are certain libraries which nearly
30<emphasis>everyone</emphasis> will need at some point. In this chapter
31we list these and some others and explain why you may want to install
32them.</para>
33
34&zlib;
35&openssl;
36&pcre;
37&popt;
38&slang;
39&libfam;
40&libxml;
41&libxml2;
42&libxslt;
43
44</chapter>
Note: See TracBrowser for help on using the repository browser.