Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Porting LGPL code - what license can I use? [closed]

I have ported some LGPL code from Java to C#, which I plan to release as an open source component. Do I have to release my new library under LGPL too, or can I go with something less restrictive like MS-PL?

like image 497
Mark Heath Avatar asked Jan 26 '09 20:01

Mark Heath


People also ask

Is LGPL free for commercial use?

You can use and distribute LGPL libraries on your website and use them in combination with commercial code. The only big restriction is that you must keep the library open source, including any modifications you make to it, and allow your users to obtain the source, licence and copyright information for the library.

Is LGPL a permissive license?

The LGPL is not not a permissive license These additional permissions allow users to link to the work without adhering to all the conditions of the GPL, but the LGPL still places some conditions on users, in order to ensure that they can still use, modify, and distribute the library.

Can I use GPL license in commercial software?

Software under the GPL may be run for all purposes, including commercial purposes and even as a tool for creating proprietary software, such as when using GPL-licensed compilers.

Can I sell LGPL software?

Yes, you can distribute your software without making the source code public and without giving recipients the right to make changes to your software. The LGPL license explicitly allows such usages of libraries/packages released under that license. for LGPLv2.


2 Answers

Since you're basing your work on the original LGPL work, it seems to me that your work is a derivative of the original, and so section 2 of the license applies: Your code needs to be LGPL or, at your option, GPL. (The wording is different in versions 2 and 3, but it's the same section.) But I'm just a programmer, so what do I know? You're asking a question about the law, so your best course of action is to ask a lawyer.

like image 143
Rob Kennedy Avatar answered Oct 20 '22 12:10

Rob Kennedy


I believe you have to use LGPL:

http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License#Differences_from_the_GPL

It depends on whether your port is a derivative work (generally port == derivative work).

like image 27
Ben Collins Avatar answered Oct 20 '22 13:10

Ben Collins