Changeset d56e7df for general/genlib/genlib.xml
- Timestamp:
- 03/10/2020 02:12:43 PM (4 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- bad2cbca
- Parents:
- ddc634b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/genlib.xml
rddc634b rd56e7df 16 16 <title>General Libraries</title> 17 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> 18 <para> 19 Libraries contain code which is often required by more than 20 one program. This has the advantage that each program doesn't need to 21 duplicate code (and risk introducing bugs), it just has to call 22 functions from the libraries installed on the system. The most obvious 23 example of a set of libraries is <application>Glibc</application> which is 24 installed during the LFS book. This contains all of the 25 <application>C</application> library functions which programs use. 26 </para> 25 27 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> 28 <para> 29 There are two types of libraries: static and shared. Shared libraries 30 (usually <filename>libXXX.so</filename>) are loaded into memory from the 31 shared copy at runtime (hence the name). Static libraries (<filename> 32 libXXX.a</filename>) are actually linked into the program executable file 33 itself, thus making the program file larger. Quite often, you will find 34 both static and shared copies of the same library on your system. 35 </para> 32 36 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> 37 <para> 38 Generally, you only need to install libraries when you are 39 installing software that needs the functionality they supply. In 40 the BLFS book, each package is presented with a list of (known) 41 dependencies. Thus, you can figure out which libraries you need to have 42 before installing that program. If you are installing something without 43 using BLFS instructions, usually the <filename>README</filename> or 44 <filename>INSTALL</filename> file will contain 45 details of the program's requirements. 46 </para> 41 47 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> 48 <para> 49 There are certain libraries which nearly <emphasis>everyone</emphasis> will 50 need at some point. In this chapter these and some others are listed and 51 it is explained why you may want to install them. 52 </para> 45 53 46 54 <!-- systemd only -->
Note:
See TracChangeset
for help on using the changeset viewer.