Manual

47
To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modied by someone else and
passed on, the recipients should know that what they have is not the original version, so that the original authors reputaon will not be aected by problems
that might be introduced by others.
Finally, soware patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot eecvely restrict the
users of a free program by obtaining a restricve license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library
must be consistent with the full freedom of use specied in this license.
Most GNU soware, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License,
applies to certain designated libraries, and is quite dierent from the ordinary General Public License. We use this license for certain libraries in order to
permit linking those libraries into non-free programs.
When a program is linked with a library, whether stacally or using a shared library, the combinaon of the two is legally speaking a combined work, a
derivave of the original library. The ordinary General Public License therefore permits such linking only if the enre combinaon ts its criteria of freedom.
The Lesser General Public License permits more lax criteria for linking other code with the library.
We call this license the “Lesser” General Public License because it does Less to protect the user’s freedom than the ordinary General Public License. It also
provides other free soware developers Less of an advantage over compeng non-free programs. These disadvantages are the reason we use the ordinary
General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.
For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard.
To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free
libraries. In this case, there is lile to gain by liming the free library to free soware only, so we use the Lesser General Public License.
In other cases, permission to use a parcular library in non-free programs enables a greater number of people to use a large body of free soware. For
example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operang system, as well as its variant,
the GNU/Linux operang system.
Although the Lesser General Public License is Less protecve of the users’ freedom, it does ensure that the user of a program that is linked with the Library
has the freedom and the wherewithal to run that program using a modied version of the Library.
The precise terms and condions for copying, distribuon and modicaon follow. Pay close aenon to the dierence between a “work based on the
library” and a “work that uses the library”. The former contains code derived from the library, whereas the laer must be combined with the library in order
to run.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any soware library or other program which contains a noce placed by the copyright holder or other authorized party
saying it may be distributed under the terms of this Lesser General Public License (also called “this License”). Each licensee is addressed as “you”.
A “library” means a collecon of soware funcons and/or data prepared so as to be conveniently linked with applicaon programs (which use some of those
funcons and data) to form executables.
The “Library, below, refers to any such soware library or work which has been distributed under these terms. A “work based on the Library” means either
the Library or any derivave work under copyright law: that is to say, a work containing the Library or a poron of it, either verbam or with modicaons
and/or translated straighorwardly into another language. (Hereinaer, translaon is included without limitaon in the term “modicaon”.)
“Source code” for a work means the preferred form of the work for making modicaons to it. For a library, complete source code means all the source code
for all modules it contains, plus any associated interface denion les, plus the scripts used to control compilaon and installaon of the library.
Acvies other than copying, distribuon and modicaon are not covered by this License; they are outside its scope. The act of running a program using the
Library is not restricted, and output from such a program is covered only if its contents constute a work based on the Library (independent of the use of the
Library in a tool for wring it). Whether that is true depends on what the Library does and what the program that uses the Library does.
1. You may copy and distribute verbam copies of the Librarys complete source code as you receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright noce and disclaimer of warranty; keep intact all the noces that refer to this License and to the
absence of any warranty; and distribute a copy of this License along with the Library.
You may charge a fee for the physical act of transferring a copy, and you may at your opon oer warranty protecon in exchange for a fee.
2. You may modify your copy or copies of the Library or any poron of it, thus forming a work based on the Library, and copy and distribute such
modicaons or work under the terms of Secon 1 above, provided that you also meet all of these condions:
a) The modied work must itself be a soware library.
b) You must cause the les modied to carry prominent noces stang that you changed the les and the date of any change.
c) You must cause the whole of the work to be licensed at no charge to all third pares under the terms of this License.
d) If a facility in the modied Library refers to a funcon or a table of data to be supplied by an applicaon program that uses the facility,
other than as an argument passed when the facility is invoked, then you must make a good faith eort to ensure that, in the event
an applicaon does not supply such funcon or table, the facility sll operates, and performs whatever part of its purpose remains
meaningful.