Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am starting a software project that I want to have the option to keep it proprietary. However, since I generally use a Linux environment, I want to know: How do people write proprietary software in Linux and not violate the GPL/LGPL/etc licenses that seem to restrict uses of libraries needed to build the project?

Also, does using an unmodified LGPL library in my code require releasing it as open-source (I understand that open-source and proprietary are different beasts)?

And I know I'm going to be branded a heathen for asking, but can I use unmodified open-source libraries in my project but still keep the code that is mine closed-source?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

In general, when writing software that uses third-party libraries you need to be aware of the licences under which the third-party software is released and how that affects your own software.

The GPL licence is considered an infectious licence in the sense that if your project includes GPL-licensed code in any way, your code must also be released under the GPL licence (possibly in addition to other licenses).

The LGPL licence was created to take away the infectiousness of the GPL licence. Roughly speaking, if you use a LGPL licensed library in your project you can use any licence you like for your own code (even a closed-source one) as long as the end-user can replace the LGPL licensed library with a different, compatible, one.

For other licenses, you will have to check the licence itself, but in general, MIT and BSD-derived licenses tend to be more permissive than (L)GPL.

Disclaimer: IANL, TINLA

share|improve this answer
    
"I am not a lawyer, this is not legal advice"? –  Joe Z. Dec 23 '12 at 15:00
    
@JoeZeng: Correct. –  Bart van Ingen Schenau Dec 23 '12 at 22:36
    
Thanks! I'll have to read the license terms a bit closer. –  NickO Dec 23 '12 at 23:42

There is an interesting publication on this topic:

Citation:

Maria Kechagia, Diomidis Spinellis, and Stephanos Androutsellis-Theotokis. Open source licensing across package dependencies. In Costas Vassilakis and Nikolaos Tselikas, editors, PCI 2010: Proceedings of 14th Panhelenic Conference on Informatics, pages 27–32, Los Alamitos, CA, USA, September 2010. IEEE Computer Society.

Abstract:

Licensing dependencies among open source software (oss) packages reveal a lot about software compatibility relationships and the practicalities of oss licensing. There is, however, limited information on these in the literature. In this paper, we discuss various aspects of oss licensing, and we present an empirical study on FreeBSD ports collections concerning their licensing dependencies, in an attempt to identify specific patterns. Our results highlight different types of dependencies, that could be used to explain, or even guide the license selection process of oss projects.

Here is the doi number doi:10.1109/PCI.2010.28

share|improve this answer
    
Thank you for that, I'll have to look it up! –  NickO Dec 23 '12 at 23:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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