2

I have created an library (A) that uses several other GPL v2 or v3 licensed libraries (B,C,D) which, I am not the author of. I am only the author of A.

Can I license library A under a GPL or a dual license and use it in a commercial software which will be licensed only under proprietary license ?

Similar question have been posted here and there but don't address the fact that other GPL licensed libraries might be re-used in the main library (A).

1
  • 1
    Note that you cannot use a library licensed under "GPLv2 only" in the same executable/library with a library licensed under GPLv3. That combination of licenses is incompatible and makes it impossible to distribute your project. – Bart van Ingen Schenau May 28 '20 at 11:02
1

A software which includes (links to) a GPL-licensed library, whether directly or indirectly (thus as a library called by another library), needs to be released under GPL. You link GPL-licensed software, and as such your library is a derivative of those and needs to follow the license terms; the license gives you no right to distribute it under different terms.

Things look different, if we talk about the LGPL, thus GPL with linking exception.

You may, of course, sell additional guarantees or indemnification to clients for your library or programme - but even that doesn't lift the obligations put on you and your library's clients by the GPL introduced by the dependencies of your library.

2
  • Making 'use' of GPL software is not enough to create a derivative work. Maybe in this case it is, but in general, you can 'use' GPL software (e.g. use the GIMP to create your company logo) without the resulting work being a derivative work of the GPL software. – Brandin May 28 '20 at 4:43
  • Of course. I should have written 'link to' instead of 'use' which can be miss - understood, obviously despite the context of the previous sentence. I changed wording – planetmaker May 28 '20 at 4:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.