LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-20-2010, 01:19 PM   #1
connie84911
LQ Newbie
 
Registered: Jan 2010
Posts: 24

Rep: Reputation: 0
Linking GPL apps to non-GPL libraries


I have a library that I have ported from Windows, and is not a derivative work of Linux. The library is subject to copyright law, and I can't disclose the source. I would like to link a GPL application to this library, and want to know if the linking would cause the library to be GPL.

If the library becomes GPL, is there some other way (kernel loadable module?) that I can keep my library from becoming a work of GPL?
 
Old 01-21-2010, 07:51 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
A GPL program can't force another program to become GPL simply because it interfaces with it. The only situation in which a program or library must become GPL is when GPL source code is used in it.

Of course, your situation seems to be the opposite of what the GPL is designed to deal with. The GPL aims to protect open source software by making sure closed source software doesn't abuse its open nature. In your case, the GPL software is using closed source libraries, not the other way around.
 
Old 01-21-2010, 08:26 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
There's no way an unwilling person's code can be "automatically" appropriated and made GPL. The GPL uses existing copyright law as its foundation, which means that only the copyright holders themselves can choose to give the code a GPL license. What the GPL says though is that once some code is GPL-licensed, you can't use it or distribute it in any way that restricts the freedoms it provides (the GPL generally doesn't restrict private use; it's only in distribution that it becomes a concern). If you can't or won't give others the same freedom you received, then you simply can't use the GPL code.

The same goes for any copyrighted code. You can only use it in the ways that the copyright holder allows, or not at all.

So you don't have to worry about the code "becoming a work of GPL", but depending on how they are bundled, and on what the owner of the non-GPL'd code allows, you may or may not be able to freely distribute both the GPL and non-GPL code together. I'm not a copyright expert though, so I can't say for sure what the details would be in this case. You may need to consult with an expert for that.

Last edited by David the H.; 01-21-2010 at 08:29 AM. Reason: minor rewording
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Complying with the GPL: How to Avoid Being Named in the Next GPL Lawsuit LXer Syndicated Linux News 0 12-17-2009 10:20 PM
Differnets between GPL-1 , GPL-2 ?? isilinux Linux - Distributions 1 12-05-2006 04:16 PM
LXer: GPL VoIP libraries, softphone gain enhanced security LXer Syndicated Linux News 0 10-05-2006 09:33 PM
Regarding the GPL... pujolasdf Programming 5 04-01-2005 03:28 AM
about GPL ?? nazib Linux - General 4 03-02-2005 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:57 PM.

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