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.

For an open source project, is it legal and acceptable to link to commercial libraries?

For example, an open source application I'm involved in would benefit from using commercial 3rd party user interface library.

share|improve this question
2  
It depends on the license of your program only. –  zneak Feb 13 '11 at 15:29

3 Answers 3

up vote 4 down vote accepted

Although legality might be something to consider, the bigger question here is related to practicality and usefulness (and, as you said, acceptability).

If you release your product as open source, but no one can use it without purchasing some commercial libraries, how useful is your product going to be? Unless your target audience already has this commercial library installed for some other purpose, I highly doubt that they would buy it just to use your application.

So legality aside, I don't think potential users will consider this acceptable behavior.

share|improve this answer
2  
+1, but with a proviso. You could say "potential users won't buy a commercial operating system just to..." for example, but there are many open source products available for Windows, because so many people do already have that operating system. Depending on the context, the same might apply to a commercial library that is supplied with some very common commercial product. I expect there's open source tools for Microsoft Office, for example, though I very much doubt GPL ones. Just for a GUI library, though, I don't think so. There's good quality open ones anyway. –  Steve314 Feb 13 '11 at 16:15

A lot depends on the specific license - GPL v3 in particular is very strict, whereas BSD is extremely permissive.

GPL is an interesting case. There's specific terms about binary linking intended to prevent people creating an "open source" application that's dependent on a closed plugin for essential functionality. The terms can be interpreted quite broadly, irrespective of their original intent. I've argued elsewhere, for example, that every application can be considered a plugin relative to the operating system based on the description given in the GPL FAQ (data structure sharing etc) - hosting an application on Windows might (in a paranoid frame of mind) just about be considered a violation of the terms of the GPL, even though there are many GPL applications available for Windows.

share|improve this answer

It matters a great deal what you mean by "involved in" the application. Open source licenses don't restrict the copyright holders, they restrict what others who want to copy and distribute it can do.

It also matters what the commercial license is, and whether you hold the copyright on that or not.

Bottom line, if you hold both copyrights, no problem. If you hold neither copyright, most likely a problem unless the license terms of both are very generous. If you hold only one copyright, it's going to depend on the details.

share|improve this answer

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.