Skip to main content
1 of 7
ruben2020
  • 4.7k
  • 9
  • 26

All licenses which are compatible with the GPLv3 is also compatible with the LGPLv3 and AGPLv3.

All licenses which are compatible with the GPLv2 is also compatible with the LGPLv2.1.

"Compatible" here means that you can fulfill the conditions of both licenses, without it conflicting with the conditions of either.

In this case, the MIT license, BSD-2-clause and BSD-3-clause licenses are all compatible with GPLv3, LGPLv3, AGPLv3, GPLv2 and LGPLv2.1. So, code licensed under them can be copied into the other or linked with the other (statically or dynamically), and distributed together, as long as the conditions of all the included licenses are fulfilled.

The Combined Libraries clause of Section 5 of the LGPLv3 and Section 7 of the LGPLv2.1 is not meant for software licensed under compatible licenses. Rather, it is meant for software licensed under incompatible licenses like proprietary licenses and incompatible open source licenses.

For e.g. the Apache License v2.0 is compatible with GPLv3, LGPLv3 and AGPLv3 but it is incompatible with GPLv2 and LGPLv2.1.

A library licensed under Apache License v2.0, like OpenSSL 3.x, is never usable by a software licensed under GPLv2 due to this incompatibility.

However, a library licensed under Apache License v2.0, like OpenSSL 3.x, is usable by a software licensed under LGPLv2.1, as long as the conditions of the Combined Libraries clause of Section 7 of the LGPLv2.1 is complied with.

ruben2020
  • 4.7k
  • 9
  • 26