GNU Lesser General Public License v2.1and commercial use.

The GNU LGPL version 2.1 is a weak copyleft licence intended mainly for libraries. Changes to the library itself must be released under the LGPL, but programs that only use the library can be distributed under other terms, provided users can replace or relink the library. It is published by the Free Software Foundation.

Weak copyleft
Licence family
Yes
OSI approved
Medium
M&A risk rating
LGPL-2.1-only
SPDX identifier

Commercial and
SaaS use.

Commercial products

Yes. LGPL-2.1 libraries can be used by proprietary commercial programs. The library and any modifications to it stay under the LGPL, and the distributed product must allow users to modify the library and relink it.

Hosted and SaaS use

Running LGPL-2.1 code on your own servers to provide a service is not distribution, so no source-disclosure obligation arises from hosting alone.

Patent grant

None explicit. LGPL-2.1 contains no express patent licence, though section 11 addresses patent-related restrictions on distribution.

Risk in an acquisition

Medium risk

Acquirers check how the LGPL library is linked in distributed products, whether it has been modified and whether the end-user licence prohibits reverse engineering in a way that conflicts with the LGPL. Static linking into mobile or embedded products receives the most scrutiny.

What you must do

  • Provide the source code of the library, including your modifications, when you distribute it
  • License modifications to the library itself under the LGPL
  • Allow users to modify the library and relink it with your program, for example through dynamic linking or by supplying object files
  • Permit modification for the user's own use and reverse engineering for debugging such modifications
  • Give prominent notice that the library is used and include a copy of the licence

Commonly combined with

MITBSD-2-ClauseBSD-3-ClauseISCMPL-2.0GPL-2.0 or laterGPL-3.0 (when licensed 2.1 or later)

Well-known projects under LGPL-2.1-only

GNU C Library (glibc)FFmpeg (default build)

Sources

This page is a plain-English summary for technology diligence and is not legal advice. Licence obligations depend on how the code is used and distributed; confirm specific cases with counsel.

Frequently asked
questions.

Can I use LGPL 2.1 code in a commercial SaaS product?

Yes. Using an LGPL-2.1 library in a hosted service does not require you to release your source code, because providing a service is not distribution. If you distribute software that includes the library, you must provide its source, any changes to it, and the ability to relink.

Does static linking with an LGPL library make my code LGPL?

Static linking does not make your code LGPL, but section 6 requires that you provide your application in a form that lets users relink it with a modified library, for example by supplying object files. Dynamic linking satisfies this more simply.

Can I convert LGPL 2.1 code to the GPL?

Yes. Section 3 of LGPL-2.1 allows you to apply the terms of the ordinary GNU GPL version 2, or a later version, to a copy of the library instead of the LGPL.

Open-source risk
in a target's code?

We scan the codebase, build the SBOM and flag licence obligations that matter for the deal. We respond within one business day with a proposed scope and fee.