LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-28-2006, 07:26 AM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Rep: Reputation: 31
Terms of GPL licensed Library


Say I write some little program. This program only compiles by using a C library that has a GPL license. When I publish my program, must I include my source code? Can I keep it closed source?
 
Old 10-28-2006, 07:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
in my understanding you must release the source code to anyone who requests it. if you charge for your product then you are only obliged to provide source code to paying customers, but you must still do so if requested.
 
Old 10-28-2006, 08:17 AM   #3
easuter
Member
 
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538

Rep: Reputation: 62
why would you want to keep it closed anyway?
 
Old 10-28-2006, 09:21 AM   #4
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by easuter
why would you want to keep it closed anyway?
It's less effort that way. An open source license can also conflict with other licenses that require a closed source.
 
Old 10-28-2006, 09:38 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
less effort... ahh i see you have the highest standard motivating you!

yes there are plenty of incompatibilities within licenses for open and closed source products, but you only provide source for things using the open source software, not the other sub components. if that were the case then those products would already be obliged to be open source.
 
Old 10-28-2006, 10:34 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by acid_kewpie
in my understanding you must release the source code to anyone who requests it. if you charge for your product then you are only obliged to provide source code to paying customers, but you must still do so if requested.
You have to provide source to anyone who asks, whether or not they bought the product. (Section 3.b of the GPL, I believe)
 
Old 10-28-2006, 10:37 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
If the library you use is LGPL (not GPL), you can keep your code closed source, if you wish.
 
Old 10-28-2006, 01:02 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well 3b says that the distributed product must contain an offer to show the source code for free. so if someone does not have that distributed product, e.g. the box set or downloaded licensed software, then they have no offer with it either.
 
Old 10-28-2006, 09:14 PM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by acid_kewpie
well 3b says that the distributed product must contain an offer to show the source code for free. so if someone does not have that distributed product, e.g. the box set or downloaded licensed software, then they have no offer with it either.
Well, under the GPL FAQ you would seem to be correct. Of course, if someone you sold a copy to redistributes it, you are still obligated to support those copies with source. So imagine one person buys a copy and posts it on some FTP/torrent/whatever site...
 
Old 10-29-2006, 03:17 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hmm, i'd doubt that really. This would really be what centos is all about, they bought the rhn subscription to get the rhel official updates and they rebuild them. you won't get the updates for rhel without the $$$ subscription at all. once centos rebuild them, they are no longer redhat's software.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Selling GPL Licensed Code!? GodSendDeath General 6 08-11-2005 05:57 PM
Is Licensed copy of Unix or Linux needs cash? pls compare with licensed windows.... nazib Linux - General 11 02-13-2005 03:20 PM
Is Linspire totally GPL licensed? funggorgor Linspire/Freespire 4 12-25-2004 05:46 AM
Selling GPL licensed anythings MasterC Linux - General 14 12-21-2004 08:28 PM
So is Mozilla (for Linux) licensed under GPL or MPL? microtim Linux - General 1 11-05-2003 01:10 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration