tags:

views:

217

answers:

5

I'm interested in included LZO compression into a currently closed source application. Currently LZO is licensed with GPLv2, but i'm confused as to if I need to also open source my application if I use their libraries. I'm not changing their library in any way.

A: 

Yes, if you link with a GPL library, you need to open source all your code.

http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#GPLInProprietarySystem

This is different to LGPL. You don't need to open source all your code if you link with an LGPL library.

Mark Byers
There is a typo in your answer: LPGL instead of LGPL.
Laurent Etiemble
Thanks - fixed.
Mark Byers
Is this still the case if you don't distribute the application? For instance, if I create a web service that includes GPL code, do I need to release the application under the GPL (assuming users can only use the application as a service)? It was my (admittedly limited) understanding of the GPL that in this case, since you're not actually distributing the application, you didn't need to release under the GPL.
Michael Williamson
In this case then you don't. If it's Affero GPL v3 then you do. http://www.fsf.org/licensing/licenses/agpl-3.0.html
Mark Byers
A: 

If you include a GPLv2 library into your closed source application (even without modifying it), you are producing a derivative work according to the clause 0 of the GPLv2. Thus application should be licensed under the GPLv2. Please refer to the legal FAQ of GNU for more informations.

Laurent Etiemble
+2  A: 

Two points.

  1. Linking against a GPL'ed library will make your program a 'derived work' and you will be required to license it under the GPL. Details here. The LGPL is basically the GPL with a clause that allows linking with closed source applications.
  2. Algorithms (LZO compression in this case) cannot be copyrighted or licensed under the GPL. Concrete implementations are and so perhaps you can find an implementation of the algorithm in question that you can link with a proprietary application (eg. one licensed under the MIT license).
Noufal Ibrahim
A: 

In fact, Markus F.X.J. Oberhumer licenses this library under the GPL, which by itself does not make it usable in a closed-source product, because he is the sole author and therefore has the power to sell less restrictive licenses to people who are interested. Contact him:

http://www.oberhumer.com/opensource/lzo/

Pascal Cuoq
A: 

You should be able to find an LGPL version of LZO, or if you can live with slightly slower speed zlib is very freely licensed.

Deflate is suppsoed to have similar decompression speed to LZO and is LGPL

Martin Beckett