LGPL allows you to use and distribute the open source software with your application without releasing the source code for your application.
GPL requires you to release the source code of your application if you choose to use and distribute the GPL licensed open source software with your application. In other words, your application must also be licensed under the GPL.
GPL
Other developers can borrow and modify the code and re-distribute it as part of their own project, only if their entire project is also licensed under the GPL.
This prevents the code from being used in proprietary software.
LGPL
Other developers can borrow and modify the code and re-distribute it as part of their own project, provided that the portion used under the LGPL, including any modifications, is re-licensed under the LGPL. Other portions of the project are permitted have other licenses.
This allows the code to be used in otherwise proprietary software.
One thing to note is that the LGPL is a longer and more complicated license than the GPL itself, because it contains the full text of the GPL and then adds additional terms to it.
Many of the additional terms in the LGPL specify the conditions that need to be met in order to be able to distribute your code in a project with another license. For example, not only must the user be given the source code to the section under LGPL, but it must be possible for the user of the finished software to modify, re-compile or replace the portion of the software that is licensed under the LGPL and use this modified code with the same software. If you are publishing otherwise proprietary software containing some LGPL code, one way of satisfying this requirement is to place the LGPL code into a separate dynamically linked library, and to distribute with your software the necessary header files and documentation required to re-compile the LGPL portion in such a way that it can still be linked and used with the software as provided. It is not acceptable to take steps to prevent modification of the LGPL code such as obfuscating the code itself or the API or header files.
Note that the LGPL is compatible with the GPL: you can opt to "upgrade" the code to GPL and incorporate it in a wholly GPL licensed project as set out in my first bullet point if you wish. You can't however go the other way and re-license GPL licensed code as LGPL.
IANAL, but the concepts are fairly straightforward.
First, you and your lawyer must read the GPL and LGPL licenses. Second, you should read the GPL FAQ. As far as I understand, you can think of using GPL/LGPL libraries in this way:
If you cut and paste or link against GPL'd code into your application, your application must be licensed under GPL and you are then required to release the code.
However, you can still sell your application and afaik, the only oblication is that you release the sourcecode to your customers.
If the library you link against is Lesser Gnu Public License aka LGPL then you dont need to release your own application's code but you are still required to release all modifications if you modified the lgpl'd code.
GPL does not forbid you to sell software. However you must make available the sources to the software.
The question of usage is a little more complicated. GNU/Linux is released under the GPL. Nothing forbids you to write software that runs under Linux regardless of the licence of your software. However, you cannot distribute Linux together with your software. That is often a problem with libraries which need to be part of a program. That is what the LGPL licence is for. You can compile a c program you write with gcc (hence using LGPL licenced runtime routine libraries from gcc) and still release you software without the restrictions of the GPL.
I think that is the general gist of it. However, this it not in any way legal advice. For legal advice you must retain a certified attorney who can give you legal advice fitting your particular circumstances.
Hope this helps.
The GPL vs. LGPL distinction determines whether you do/do not have to release the source for your application to anyone having a copy of the binary. Either way you can still sell the application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With