<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Friday challange: linking with GPL code</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jonathan</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-559788</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 12 May 2009 07:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-559788</guid>
		<description>Vadim,

I&#039;m quite sure you can&#039;t BSD a GPL application and release it. The GPL specifically requests that you release all the code under GPL. You can release your library under BSD, but then someone can&#039;t GPL it as well.</description>
		<content:encoded><![CDATA[<p>Vadim,</p>
<p>I&#8217;m quite sure you can&#8217;t BSD a GPL application and release it. The GPL specifically requests that you release all the code under GPL. You can release your library under BSD, but then someone can&#8217;t GPL it as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: In Cognito</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-559500</link>
		<dc:creator>In Cognito</dc:creator>
		<pubDate>Mon, 11 May 2009 22:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-559500</guid>
		<description>I respectfully disagree with Baron&#039;s comment: &quot;It always seems people are trying to get the benefits of GPL while giving as little as possible in return. That’s my take on it anyway.&quot; You have to consider the diversity of the market and the broader benefit to users. For example, should applications that run on Linux have to be open sourced? Should they have to pay a Linux tax? Either of these options would have severely hampered the growth of the Linux application market and, in turn, limited the growth of Linux. In fact, it is best for all that there be broad set of companies offering a spectrum of capabilities. This is what builds a vibrant ecosystem. If someone wants to enhance an open source application, where: (a) it is non-core to the operation of the open source app; (b) there are open source alternatives; then who is hurt? The users ultimately vote with their dollars/downloads.

To use the example of the storage engine, consider if the engine company licensed technology from a University. They may be UNABLE to distribute it in source code form. Or consider a company with VC funding, their VCs may require a return on investment that precludes an open source business model. Should those engines be unavailable to the MySQL community? Who does that help?

I understand that these companies are building on the shoulders of those who went before them. But didn&#039;t the MySQL folks build on the shoulders of developers who were unpaid? When MySQL sold for $1B, did they pay royalties or a &quot;tax&quot; to those unpaid developers?

In the end, we need to put religious issues aside and ask ourselves what is best for the user community. Certainly we don&#039;t want to build dependencies upon closed source within an open source application. At the same time a vibrant community requires non-vital extensions that can be distributed under a variety of licensing models. As these companies grow, they support the old adage: When the water rises, all the boats go up. Just as many successful Linux application vendors reinvest in Linux, many successful commercial MySQL vendors will reinvest in MySQL.

The real question is simple: Do you want MySQL to be a single monolithic free piece of software, or do you want it to be fertile soil for any number of solutions, free, commercial, whatever? In the end, if an extension doesn&#039;t deliver sufficient value...don&#039;t buy it.</description>
		<content:encoded><![CDATA[<p>I respectfully disagree with Baron&#8217;s comment: &#8220;It always seems people are trying to get the benefits of GPL while giving as little as possible in return. That’s my take on it anyway.&#8221; You have to consider the diversity of the market and the broader benefit to users. For example, should applications that run on Linux have to be open sourced? Should they have to pay a Linux tax? Either of these options would have severely hampered the growth of the Linux application market and, in turn, limited the growth of Linux. In fact, it is best for all that there be broad set of companies offering a spectrum of capabilities. This is what builds a vibrant ecosystem. If someone wants to enhance an open source application, where: (a) it is non-core to the operation of the open source app; (b) there are open source alternatives; then who is hurt? The users ultimately vote with their dollars/downloads.</p>
<p>To use the example of the storage engine, consider if the engine company licensed technology from a University. They may be UNABLE to distribute it in source code form. Or consider a company with VC funding, their VCs may require a return on investment that precludes an open source business model. Should those engines be unavailable to the MySQL community? Who does that help?</p>
<p>I understand that these companies are building on the shoulders of those who went before them. But didn&#8217;t the MySQL folks build on the shoulders of developers who were unpaid? When MySQL sold for $1B, did they pay royalties or a &#8220;tax&#8221; to those unpaid developers?</p>
<p>In the end, we need to put religious issues aside and ask ourselves what is best for the user community. Certainly we don&#8217;t want to build dependencies upon closed source within an open source application. At the same time a vibrant community requires non-vital extensions that can be distributed under a variety of licensing models. As these companies grow, they support the old adage: When the water rises, all the boats go up. Just as many successful Linux application vendors reinvest in Linux, many successful commercial MySQL vendors will reinvest in MySQL.</p>
<p>The real question is simple: Do you want MySQL to be a single monolithic free piece of software, or do you want it to be fertile soil for any number of solutions, free, commercial, whatever? In the end, if an extension doesn&#8217;t deliver sufficient value&#8230;don&#8217;t buy it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-559435</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Mon, 11 May 2009 21:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-559435</guid>
		<description>Ok,

Thank all for comments. My understanding now is &quot;Do it BSD or commercial license and you are safe&quot;.</description>
		<content:encoded><![CDATA[<p>Ok,</p>
<p>Thank all for comments. My understanding now is &#8220;Do it BSD or commercial license and you are safe&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-559276</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 11 May 2009 06:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-559276</guid>
		<description>Hi Vadim,

I am a lawyer, and I represented the plaintiff in &lt;a href=&quot;http://www.jinchess.com/ichessu/&quot; rel=&quot;nofollow&quot;&gt;Maryanovsky v. Rabinovich&lt;/a&gt; (which was settled), which was similar to  what you ask. Basically, there are two different questions: the first is a whether you&#039;re allowed to  link at all (with a separate installer for the libcompress) and the second is can you distribute a binary aggregation. 

My belief, and what we claimed in the lawsuit, was distributing GPLed applications alongside with binary proprietary files are prohibited. The distribution and repackaging creates a new application that is more than mere aggregation, especially if it includes one installer (in that case they used a windows app) and it does not include the source code and license for the proprietary library.

The simple solution is to distribute the library in a separate installer, or as a separate package. 

You can always buy a proprietary license from the &quot;MoonOffice&quot; software vendor that allows you to distribute it only in binary or purchase the LibCompress&#039; source code for GPLing it.

If you need any help, you have my email.</description>
		<content:encoded><![CDATA[<p>Hi Vadim,</p>
<p>I am a lawyer, and I represented the plaintiff in <a href="http://www.jinchess.com/ichessu/" rel="nofollow">Maryanovsky v. Rabinovich</a> (which was settled), which was similar to  what you ask. Basically, there are two different questions: the first is a whether you&#8217;re allowed to  link at all (with a separate installer for the libcompress) and the second is can you distribute a binary aggregation. </p>
<p>My belief, and what we claimed in the lawsuit, was distributing GPLed applications alongside with binary proprietary files are prohibited. The distribution and repackaging creates a new application that is more than mere aggregation, especially if it includes one installer (in that case they used a windows app) and it does not include the source code and license for the proprietary library.</p>
<p>The simple solution is to distribute the library in a separate installer, or as a separate package. </p>
<p>You can always buy a proprietary license from the &#8220;MoonOffice&#8221; software vendor that allows you to distribute it only in binary or purchase the LibCompress&#8217; source code for GPLing it.</p>
<p>If you need any help, you have my email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Burton</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-559191</link>
		<dc:creator>Kevin Burton</dc:creator>
		<pubDate>Mon, 11 May 2009 03:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-559191</guid>
		<description>This has been an issue in Java land as we have wanted readline FOREVER....

rlwrap partially solve this:

http://utopia.knoware.nl/~hlub/rlwrap/

Various other proposals existed including recommending the use of BSD editline or readline and allow the user to configure their system and dynamically bind to each library.

Shipping with no readline enabled by default and then allowing the user to select a readline to use would work and fix this problem.

the LD_PRELOAD issue also works.

Another idea is to just contact the author and see if he can relicense.  Often they don&#039;t realize they&#039;re preventing people from using their code.

Or..... do what I do, and write a BSD version which is better ;)</description>
		<content:encoded><![CDATA[<p>This has been an issue in Java land as we have wanted readline FOREVER&#8230;.</p>
<p>rlwrap partially solve this:</p>
<p><a href="http://utopia.knoware.nl/~hlub/rlwrap/" rel="nofollow">http://utopia.knoware.nl/~hlub/rlwrap/</a></p>
<p>Various other proposals existed including recommending the use of BSD editline or readline and allow the user to configure their system and dynamically bind to each library.</p>
<p>Shipping with no readline enabled by default and then allowing the user to select a readline to use would work and fix this problem.</p>
<p>the LD_PRELOAD issue also works.</p>
<p>Another idea is to just contact the author and see if he can relicense.  Often they don&#8217;t realize they&#8217;re preventing people from using their code.</p>
<p>Or&#8230;.. do what I do, and write a BSD version which is better <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-559121</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Sun, 10 May 2009 23:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-559121</guid>
		<description>Pat, the GPL doesn&#039;t prevent you from doing what you want with code, so long as you&#039;re not distributing it. All of the GPL provisions you refer to only kick in when you distribute the code. That might not help the Percona folks in what they&#039;re doing, but if I write a module that links to GPL&#039;d software, I am under no obligation to distribute its source or license it under the GPL if I&#039;m not giving it out.

Cheers!

Luke</description>
		<content:encoded><![CDATA[<p>Pat, the GPL doesn&#8217;t prevent you from doing what you want with code, so long as you&#8217;re not distributing it. All of the GPL provisions you refer to only kick in when you distribute the code. That might not help the Percona folks in what they&#8217;re doing, but if I write a module that links to GPL&#8217;d software, I am under no obligation to distribute its source or license it under the GPL if I&#8217;m not giving it out.</p>
<p>Cheers!</p>
<p>Luke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pat</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-558899</link>
		<dc:creator>pat</dc:creator>
		<pubDate>Sun, 10 May 2009 21:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-558899</guid>
		<description>The GPL authors *seem* to be taking the position that it doesn&#039;t really matter how you link to a GPL program. Rather what matters is the degree of data sharing. If both programs, for example, share a memory space and pass data between them on something more sophisticated than the CLI, then the GPL authors seem to be taking the position that there&#039;s really only one program.

If there&#039;s really only one program, then the whole program has to be GPL or none of it can be GPL.

Now an actual lawyer (as opposed to me) could probably tell you if their legal theory is enforceable or not, but that does appear to be their position.

Note that the above is different from my personal preference e.g. I think that free software *should* be able to link to proprietary code if that&#039;s what the user wants to do with it. There is, in my mind, a perverse irony in the fact that the GPL, designed to promote &quot;free&quot; software, actually restricts my rights as a user of that software far more so than, say the BSD licensing model. 

If something is truly free, I should be able to do whatever I want with it.</description>
		<content:encoded><![CDATA[<p>The GPL authors *seem* to be taking the position that it doesn&#8217;t really matter how you link to a GPL program. Rather what matters is the degree of data sharing. If both programs, for example, share a memory space and pass data between them on something more sophisticated than the CLI, then the GPL authors seem to be taking the position that there&#8217;s really only one program.</p>
<p>If there&#8217;s really only one program, then the whole program has to be GPL or none of it can be GPL.</p>
<p>Now an actual lawyer (as opposed to me) could probably tell you if their legal theory is enforceable or not, but that does appear to be their position.</p>
<p>Note that the above is different from my personal preference e.g. I think that free software *should* be able to link to proprietary code if that&#8217;s what the user wants to do with it. There is, in my mind, a perverse irony in the fact that the GPL, designed to promote &#8220;free&#8221; software, actually restricts my rights as a user of that software far more so than, say the BSD licensing model. </p>
<p>If something is truly free, I should be able to do whatever I want with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LGB</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-558825</link>
		<dc:creator>LGB</dc:creator>
		<pubDate>Sun, 10 May 2009 18:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-558825</guid>
		<description>LD_PRELOAD seems to be a bit odd, since then you distribute the launcher script which does that, maybe it&#039;s a problem. What I am not sure, what can happen if you used dlopen() so there is _NO_ strict linking, no static linking, no LD_PRELOAD thing or anything, your software does this in runtime, so it&#039;s not pre-load linking, at compile time, or even by that LD_PRELOAD thing, and it&#039;s even optional, no strict dependency.</description>
		<content:encoded><![CDATA[<p>LD_PRELOAD seems to be a bit odd, since then you distribute the launcher script which does that, maybe it&#8217;s a problem. What I am not sure, what can happen if you used dlopen() so there is _NO_ strict linking, no static linking, no LD_PRELOAD thing or anything, your software does this in runtime, so it&#8217;s not pre-load linking, at compile time, or even by that LD_PRELOAD thing, and it&#8217;s even optional, no strict dependency.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Ingo</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-558711</link>
		<dc:creator>Henrik Ingo</dc:creator>
		<pubDate>Sun, 10 May 2009 07:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-558711</guid>
		<description>Vadim, 

 &quot;LD_PRELOAD=tcmalloc moonoffice or
 with LD_PRELOAD=closedMallocLibrary moonoffice.
 GPL license does not prohibit for me as for end user to-do that.&quot;

Right, so the end user can do pretty much anything with GPL code. However, it is worth pointing out that if your MoonOffice distribution actually contains a start script that does that for the user, then you are actually distributing a GPL application that (run-time) depends on a closed library.

Since we slipped into discussing MySQL engines and Percona now, suppose you create Xtrabackup to make backups of GPL MySQL and GPL InnoDB and GPL some other storage engines. My completely non-legal advice is that
 - this can technically be run against an OEM licensed version of MySQL and InnoDB, and neither Percona or Oracle or Sun has done anything wrong if that happens.
 - If you distributed GPL&#039;d Xtrabackup together with an OEM licensed version of MySQL and InnoDB, then that might be a problem. (&quot;Might&quot;, since they are not actually linked together, but probably is a problem cause clearly they depend on each other.)

As far as I know all storage engine vendors do have a commercial MySQL license. The fact that it is also technically possible to load them as plugins into a GPL&#039;d version of MySQL shouldn&#039;t be a problem, since that is done by the end user and the producer of the engine would always use a properly licensed non-GPL binary. The interesting question would be if the GPL and OEM branches of mysql were to diverge a lot, with GPL version containing code not owned by Sun (Oracle) then loading a non-GPL plugin into a GPL&#039;d version of MySQL could infringe rights of 3rd party contributors. But this is not the situation today.</description>
		<content:encoded><![CDATA[<p>Vadim, </p>
<p> &#8220;LD_PRELOAD=tcmalloc moonoffice or<br />
 with LD_PRELOAD=closedMallocLibrary moonoffice.<br />
 GPL license does not prohibit for me as for end user to-do that.&#8221;</p>
<p>Right, so the end user can do pretty much anything with GPL code. However, it is worth pointing out that if your MoonOffice distribution actually contains a start script that does that for the user, then you are actually distributing a GPL application that (run-time) depends on a closed library.</p>
<p>Since we slipped into discussing MySQL engines and Percona now, suppose you create Xtrabackup to make backups of GPL MySQL and GPL InnoDB and GPL some other storage engines. My completely non-legal advice is that<br />
 &#8211; this can technically be run against an OEM licensed version of MySQL and InnoDB, and neither Percona or Oracle or Sun has done anything wrong if that happens.<br />
 &#8211; If you distributed GPL&#8217;d Xtrabackup together with an OEM licensed version of MySQL and InnoDB, then that might be a problem. (&#8221;Might&#8221;, since they are not actually linked together, but probably is a problem cause clearly they depend on each other.)</p>
<p>As far as I know all storage engine vendors do have a commercial MySQL license. The fact that it is also technically possible to load them as plugins into a GPL&#8217;d version of MySQL shouldn&#8217;t be a problem, since that is done by the end user and the producer of the engine would always use a properly licensed non-GPL binary. The interesting question would be if the GPL and OEM branches of mysql were to diverge a lot, with GPL version containing code not owned by Sun (Oracle) then loading a non-GPL plugin into a GPL&#8217;d version of MySQL could infringe rights of 3rd party contributors. But this is not the situation today.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/05/08/friday-challange-linking-with-gpl-code/comment-page-1/#comment-558684</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sun, 10 May 2009 05:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=682#comment-558684</guid>
		<description>Vadim -  The Stored Engine is indeed very interesting topic.

This is exactly the case of open interface which multiple libraries implement - same as with compression library you have mentioned. 
However to my knowledge all commercial storage engine vendors are getting commercial MySQL License rather than charging for plugin for GPL version. 

I do not know if this is &quot;have to&quot; thing or it is just easier to buy the license and sell the set instead of providing such combination.</description>
		<content:encoded><![CDATA[<p>Vadim &#8211;  The Stored Engine is indeed very interesting topic.</p>
<p>This is exactly the case of open interface which multiple libraries implement &#8211; same as with compression library you have mentioned.<br />
However to my knowledge all commercial storage engine vendors are getting commercial MySQL License rather than charging for plugin for GPL version. </p>
<p>I do not know if this is &#8220;have to&#8221; thing or it is just easier to buy the license and sell the set instead of providing such combination.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
