61EN
When a program is linked with a library, whether statically or using a shared library, the combi nation of
the two is l egally speaking a combined work, a derivative of the original li brary. The ord inary General
Public Lic ense therefo re permits suc h linking only if the entir e combinat ion fits its c riteria of freedom. The
Lesser General Publ ic License permit s more lax criteria for li nking other code with the library.
We call th is license the "L esser" General P ublic License b ecause it does L ess to protect t he user's freedom
than the ordinary General Public Licens e. It also provides other free software developers Less of an
advantage over competing n on-free progra ms. These disadvan tages are the r eason we use t he ordinary
General Publ ic License for m any libraries. How ever, the Lesser license provid es advantages in certain
special circumstances.
For exampl e, on rare occ asions, there may be a speci al need to enco urage the wide st possible use of a
certain library, so that it beco mes a de-facto standard. To achieve this, no n-free programs must be allowed
to use the l ibrary. A more frequent case is that a free library does the same job as w idely used non-f ree
libraries. In thi s case, there is little to gai n by limiting the free library to free softw are only, so we use the
Lesser Genera l Public License.
In other cases, perm ission to use a particular lib rary in non-free prog rams enables a greater nu mber of
people to use a large bo dy of free so ftware. For example, per mission to use the GNU C Li brary in non -free
programs enables man y more people to use the whole GNU operati ng system, as well as its variant, the
GNU/Linux operating system.
Although th e Lesser General Public Lice nse is Less prote ctive of the user s' freedom, it does ensure that the
user of a pr ogram that is linked with the Library has the freedom and the wherew ithal to run that program
using a mo dified version of the Libra ry.
The precise terms and conditions for cop ying, distribut ion and modification fo llow. Pay close at tention to
the difference between a "work bas ed on the library" and a "work that use s the library". Th e former
contains co de derived from th e library, wh ereas the latter must be combined with the libr ary in order to
run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTIO N AND MODIF ICATION
0. This License Agreement appl ies to any software l ibrary or other program which co ntains a notice pla ced
by the copyright holder or other authori zed party saying it may be distributed under the terms of this
Lesser General Public License (also called "this Li cense"). Each licensee is addressed as "you".
A "library" mea ns a collection of software functi ons and/or data p repared so as to b e conveniently
linked with application pr ograms (which use some of those fu nctions and data) to form execut ables.
The "Library", below, refers to any such software library or work which has been distributed under these
terms. A "work based on the Library" mea ns either the Library o r any derivative work under copyrigh t
law: that is to say, a work containing the Library or a portion of it, either verbatim or with modif ications
and/or translated straightforwardly into another language. (Hereinafter , translation is included without
limitati on in the ter m "modificat ion".)
"Source code" for a work means the preferred form of the work for making modifications to it . For a
library, complete source code means all the source code for all modules it contains, plus any associated
interface definition fil es, plus the sc ripts used to contr ol compilati on and installati on of the libr ary.
Activities oth er than copying , distribution and modi fication are no t covered by this Licen se; they are
outside its scope. The act of running a pro gram using the Library is no t restricted, and output from su ch
a program is covered only if its cont ents consti tute a work based on the Library (in dependent o f the use
of the Library in a tool for writing i t). Whether that is true depends on what the Librar y does and what
the program tha t uses the Library does.
1. You may copy a nd distribute verbat im copies of the Library's c omplete source code as you rece ive it, in
any medium, provided that yo u conspicuously and appropriat ely publish on each copy an appropriate
copyright notice and disclaimer of warranty; ke ep intact all the notice s that refer to this License a nd 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 option offer
warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Library or any portion of it, thus formin g a work based on
the Library, and copy and distribute such modifications or work under the term s of Section 1 above,
provided that you al so meet all of these cond itions:
a) The modified work must itse lf be a software library.
b) You must cau se the files modified to carry prominent notices stating that you changed the files and
the date of any change .
c) You must cause the whole of the work to be licensed at no charge to all third parti es under the terms
of this Li cense.
d) If a fac ility in the modified Li brary refers to a functi on or a tabl e of data to be supplied by a n
application program that uses the facility, other than as an argume nt passed when the facility is
invoked, then yo u must make a goo d faith effort to ensu re that, in the ev ent an applicati on does not
supply such function or table , the facility still oper ates, and performs whatever par t of its purpose
remains meaningful.
(For example, a function in a library to c ompute square ro ots has a purpose that is entirely well-
defined independent of the application. Therefore, Subsection 2d requires that any application-
supplied funct ion or table used by this f unction must b e optional: i f the applicat ion does not su pply
it, the square ro ot function must sti ll compute square roots.)
These requir ements apply to the modifi ed work as a whole. If ident ifiable secti ons of that w ork are not
derived from the Library, and can be reasonably considered independent and separate works in
themselves, t hen this Lice nse, and its te rms, do not apply to those se ctions when you distribute th em as
separate works. But when you distribute the same sections as part of a whole which is a work based on
the Library, the dist ribution of the who le must be on the term s of this License, who se permissions for
other licens ees extend to the entire whol e, and thus to each and every part rega rdless of who wrote it.
Thus, it is not the int ent of this se ction to cla im rights o r contest yo ur rights to work writte n entirely by
you; rather , the inten t is to exerc ise the ri ght to contr ol the distri bution of der ivative or collective w orks
based on the Library.
In addition, mere aggregation of another work no t based on the Library with the Library (or with a work
based on the L ibrary) on a volume of a stor age or distribu tion medium d oes not bring t he other work
under the sc ope of this Li cense.
3. You may opt to a pply the terms of the ordi nary GNU General Publ ic License inste ad of this License to a
given copy of the Li brary. To do this, you must alte r all the notices th at refer t o this Licen se, so th at they
refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version
than version 2 of the ordinary GNU General Public Li cense has appeared, then you can specify that
version instead if you wish.) Do not make any other change in these notice s.
Once this change is made in a given copy, it is irreve rsible for that cop y, so the ordinary GNU General
Public License applies to all su bsequent copies and derivative works made fro m that copy.
This option is useful when y ou wish to copy par t of the code of t he Library into a program that is n ot a
library.
4. You may copy and distr ibute t he Librar y (or a p ortion or derivative of it, under Section 2 ) in object code
or execut able form u nder the t erms of Se ctions 1 a nd 2 above pr ovided t hat you ac company it w ith the
complete correspo nding machine-readab le source code, whi ch must be distributed under the terms of
Sections 1 and 2 above on a medium customarily used for software interchang e.
If distribution o f object code is ma de by offering access to copy from a designated place, then offering
equivalent access to copy the source cod e from the same place satisfies the requirem ent to distribute the
source code, even though th ird parties are not compelled to copy the sou rce along with the object code.
5. A program that contains no derivative of any portion of the L ibrary, but i s designed to wor k with the
Library by being compiled o r linked with it, is cal led a "work tha t uses the Libra ry". Such a wo rk, in
isolation, is not a derivative work of the Li brary, and ther efore falls outsi de the scope o f this License .
However, linking a "work that uses the Library" with the Library creates an executable that is a derivative
of the Library (because it contains portio ns of the Library), rather than a "work that uses the library". The
executable is therefore covere d by this Lice nse. Section 6 st ates terms fo r distribution of such
executables.
When a "work that uses the L ibrary" uses material from a header file t hat is part of the Library, the object
code for the work may be a derivative wor k of the Lib rary even though the source co de is not. Wh ether
this is true is especially s ignificant if the work ca n be linked wi thout the Li brary, or if the work is i tself a
library. The thresh old for this to be true is not prec isely defined by law.
If such an object file uses only numeri cal parameters, data structure layouts and accessors, and smal l
macros and smal l inline func tions (ten lines o r less in leng th), then the use of the objec t file is
unrestricted, r egardless of whet her it is lega lly a derivative wo rk. (Executab les containing th is object
code plus portions of the Li brary will still fall under Sect ion 6.)
Otherwise, if the work is a derivati ve of the Library, you may distribute the object code for the work
under the terms of Section 6. Any executab les containing that work also fall un der Section 6, whether or
not they are linked directly with the Libra ry itself.
6. As an exce ption to the Sections above, you may also combi ne or li nk a "work tha t uses the Library" w ith
the Library to produce a work containing portions of the Library, and distrib ute that work under terms
of your choi ce, provide d that the terms permit modif ication of the work for the cu stomer's own use and
reverse engineer ing for debuggin g such modificati ons.
You must give prominent noti ce with each copy of th e work that t he Library i s used in it a nd that the
Library and its use are covered by this License. You must supply a copy of this License. If the work during
execution di splays copyrig ht notices, y ou must include the copyri ght notice fo r the Library among
them, as well a s a referenc e directing th e user to the copy of this L icense. Also, you must do one of these
things:
a) Accompany the work with the complete corresponding m achine-readable source code for the Library
including whatever change s were used in the work (which must be distribute d under Sections 1 and 2
above); and, i f the work is an executable lin ked with the Li brary, with the complete mac hine-readable
"work that uses the Library", as object code and/or source code, so that the user can modify the
Library and then re link to produce a modif ied executable con taining the modifie d Library. (It is
understood that the user who c hanges the contents of definition s files in the Li brary will not
necessarily be able to reco mpile the applicatio n to use the modified definitio ns.)
b) Use a suitable shared library mechanism for linkin g with the Library. A suitable mechanis m is one that
(1) uses at ru n time a copy of the library already present on the user's computer system, rather than
copying libr ary functions i nto the executable, and (2) will operate properly with a modi fied version of
the library , if the user installs one, as long as the modified vers ion is interf ace-compatibl e with the
version that the work was made with.
c) Accompany the work with a written offer, valid for at least three years, to give the sa me user the
materials specified in Subsection 6a, above, for a charge no more than the cost of performing this
distribution.
d) If distributi on of the work i s made by offe ring access to copy from a desig nated place, off er
equivalent access t o copy the above specified ma terials from the same place.
e) Verify that the user has already received a copy of these materials or that you have already sent this
user a copy.
For an executa ble, the requi red form of the "work that uses th e Library" mu st include any da ta and
utility prog rams needed for r eproducing the e xecutable from it. However, a s a special ex ception, the
materials to be distributed need not inc lude anything that is norm ally distribute d (in either sour ce or
binary form) wit h the major components (c ompiler, kernel, and so on ) of the operating syste m on which
the executable run s, unless that component it self accompanies the exec utable.
It may happen that this req uirement contradi cts the license restrictions of other propri etary librarie s
that do not normally accompany the operating system. Such a contradiction means you cannot use
both them and th e Library toge ther in an executable that you distribute.
7. You may place library facilities that are a work based on the Library side-by-side in a single library
together with ot her library faci lities not covere d by this License, a nd distribute such a combined libra ry,
provided that the separ ate distribution of the work based on the Library and of the ot her library
faciliti es is otherw ise permit ted, and p rovided th at you do thes e two thing s:
a) Accompany the combi ned library with a copy of the same work based o n the Library, uncombined
with any othe r library faci lities. This must be distri buted under the t erms of the Sec tions above.
b) Give promine nt notice wit h the combined library of the f act that part of it is a work b ased on the
Library, and explaining where to find the accom panying uncombined form of the same work.
8. You may n ot copy, modify , sublicense, l ink with, or distr ibute the Library excep t as expressly provided
under this Li cense. Any at tempt othe rwise to cop y, modify, sublicense, lin k with, or dist ribute the
Library is void, and will automatical ly terminate your rights under this License. Howeve r, parties who
have received co pies, or righ ts, from you under this License will not have th eir licenses te rminated so
long as such partie s remain in full compli ance.
9. You are not required to accept this License, since you have not signed it. However, noth ing else grants
you permissio n to modify or dis tribute the Library o r its derivative wor ks. These actions a re prohibited
by law if you do not accept this License. Therefo re, by modifying or distributing the Library ( or any work
based on the Library), you indicate your acceptance of this License to do so, and all its terms and
conditions for co pying, distributing or modifying t he Library or works based on it .
10. Each time y ou redistribut e the Librar y (or any wor k based on t he Library), t he recipient automatically
receives a licen se from the origina l licensor to copy, distribute, link wi th or modify the Librar y subject
to these terms and conditions. You may not impose any furth er restrictions on the recipients' exerci se
of the rights granted herein . You are not responsible for enforcing com pliance by third parties with
this License.
E5PJ1UD_EN.book Page 61 Thurs day, September 10, 2009 6: 45 PM