public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* LGPL and a proprietary application
@ 2003-05-22 17:27 Turner, Jay
  2003-05-22 17:40 ` Vinaya Kumar T
  0 siblings, 1 reply; 5+ messages in thread
From: Turner, Jay @ 2003-05-22 17:27 UTC (permalink / raw)
  To: pthreads-win32

In reading the LGPL for pthreads-win32 I find I am confused. My application is company proprietary and one reading says that an application that "uses the library" does not itself fall under the LGPL. Another reading says that it does (mainly because it uses pthread.h and semaphore.h).

Can I link to pthreads-win32 in my application without the license requiring that I provide my source or object code to my customers?

Is there anything that my legal department would accept that would confirm this?

Thanks, Jay

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: LGPL and a proprietary application
  2003-05-22 17:27 LGPL and a proprietary application Turner, Jay
@ 2003-05-22 17:40 ` Vinaya Kumar T
  2003-05-24  6:36   ` Ross Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Vinaya Kumar T @ 2003-05-22 17:40 UTC (permalink / raw)
  To: Turner, Jay; +Cc: pthreads-win32

Hello Jay,

ru linking to this LGPL library statically or dynamically...??
if statically linked ,then u should make only that of the ur src code 
open ,so that , changes in LGPL can
be done effectively.
On other hand ,if it dynamically linked,then u don't have to worry about 
ur src code to be made open.

hope this helps
vinaya


Turner, Jay wrote:

>In reading the LGPL for pthreads-win32 I find I am confused. My application is company proprietary and one reading says that an application that "uses the library" does not itself fall under the LGPL. Another reading says that it does (mainly because it uses pthread.h and semaphore.h).
>
>Can I link to pthreads-win32 in my application without the license requiring that I provide my source or object code to my customers?
>
>Is there anything that my legal department would accept that would confirm this?
>
>Thanks, Jay
>
>
>  
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: LGPL and a proprietary application
  2003-05-22 17:40 ` Vinaya Kumar T
@ 2003-05-24  6:36   ` Ross Johnson
  0 siblings, 0 replies; 5+ messages in thread
From: Ross Johnson @ 2003-05-24  6:36 UTC (permalink / raw)
  To: vkt; +Cc: Turner, Jay, pthreads-win32, Hugues.Talbot

Hi,

Just to reinforce what Vinaya and Hugues have already said and hopefully 
not muddy the water too much ...

First of all, see the pthreads-win32-specific file named 'COPYING' in 
the distribution, and specifically the last section. It states the 
objectives of the project, which includes use with commercial and/or 
proprietry code, and the reasons for choosing the LGPL over the GPL.

It may be a gross simplification (see the disclaimer at the end of this 
message) but, if you can answer the following question and also act on 
it when you distribute your application, then I would say you're 
complying with the essentials of the LGPL.

The question is ...
What does your customer need in order to continue to use your 
application if they want to use a version of pthreads-win32 that is 
different, perhaps a later version, from the one that you provide, even 
after you've stopped supporting your application, or have gone out of 
business?

As Vinaya has pointed out, the simplest case is if your application is 
dynamically linked with the mailine pthreads-win32 version. Then you 
only need to tell your customers where they can get the mainline version 
and display the pthreads-win32 copyright notice along with yours.

The worst case is if your application is statically linked, possibly 
with modifications to pthreads-win32. Then you need to provide 
everything that your customer may need in order to build pthreads-win32 
from source code, including any modifications that aren't adopted by the 
mainline pthreads-win32, and then link it with your application. At the 
least they need your .o file/s, and your modifications have to be 
released under the LGPL.

Re the inclusion of the header files, there are macros in the headers 
that will generate code that becomes part of your proprietry object 
files. I don't think anyone would suggest that this renders your code a 
derivative work according to the LGPL provided it's intended to allow 
your code work with the pthreads-win32 library.

I think section 5 is where the LGPL starts to get confusing. For example ...

"However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library".  The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables."

Where this says "the executable is therefore covered by this License", 
this doesn't mean that your code must be given away as LGPLed code. 
Section 6 is just a more complete statement of the question posed for 
you above.

If you make modifications to pthreads-win32 itself then you must make 
them redistibutable under the LGPL.  The easiest way to do that is to 
offer them back to the pthreads-win32 project maintainers, where the 
chances are they will be adopted. You must at least give your customers 
access to the modifications if they want it. The LGPL allows you to 
charge a fee to cover the costs of providing that access.

Hope that helps.

Disclaimer: the LGPL is the sole license document and no other opinion 
or interpretation, including those contained here, will override the 
terms set out in the LGPL.

Regards.
Ross

Vinaya Kumar T wrote:

> Hello Jay,
>
> ru linking to this LGPL library statically or dynamically...??
> if statically linked ,then u should make only that of the ur src code 
> open ,so that , changes in LGPL can
> be done effectively.
> On other hand ,if it dynamically linked,then u don't have to worry 
> about ur src code to be made open.
>
> hope this helps
> vinaya
>
>
> Turner, Jay wrote:
>
>> In reading the LGPL for pthreads-win32 I find I am confused. My 
>> application is company proprietary and one reading says that an 
>> application that "uses the library" does not itself fall under the 
>> LGPL. Another reading says that it does (mainly because it uses 
>> pthread.h and semaphore.h).
>>
>> Can I link to pthreads-win32 in my application without the license 
>> requiring that I provide my source or object code to my customers?
>>
>> Is there anything that my legal department would accept that would 
>> confirm this?
>>
>> Thanks, Jay
>>
>>
>>  
>>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: LGPL and a proprietary application
  2003-05-23  4:18 Vikas Gandhi
@ 2003-05-23  5:13 ` Hugues Talbot
  0 siblings, 0 replies; 5+ messages in thread
From: Hugues Talbot @ 2003-05-23  5:13 UTC (permalink / raw)
  To: pthreads-win32; +Cc: VGandhi, vkt, Jay.Turner


Hi Vikas,

Caveat: I am not a lawyer, you should contact one if you have any doubt.

Vinaya is basically right in telling you to link with a shared library 
(DLL) version of pthread-win32, this puts you in the clear as far 
as the LGPL is concerned (section 6 allows specifically for that
case). The wording of section 5. of the license is not as clear cut if
you want to use a static version (.LIB version), therefore it is
not simple to answer your questions:

> 1) Is usage of a product like "pthreads-win32" forces us to release our
> source code or not. 

Generally, if you are not modifying the pthreads-win32 library or taking 
a significant portion of it in your own code (as in cutting-and-pasting 
some portion of the pthread-win32 source code), then you do not need
to release your source code. If you are modifying the pthreads-win32
library (say if you need to modify some internal parameters, or if you
fix a bug that you have found), you fall under the scope of the
LGPL and you must release at least your changes to the library, and 
possibly more (say if you added some significant enhancements to the library
to handle cases that it doesn't handle now, you would be required to
publish those, enough that others would be able to use them).

2) Next can we use it as per our with without intimating anyone.

I'm not sure what you mean by that. You certainly cannot use pthreads-win32
as if it were your own code. Is that what you mean?


--------
Hugues Talbot, CSIRO Mathematical & Information Sciences
Locked Bag 17, Building E6B, Macquarie University  North Ryde  
NSW  2113  Australia           Ph: 61 2 9325 3208 Fax: 61 2 9325 3200

63% of all statistics are made up on the spot.

















^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: LGPL and a proprietary application
@ 2003-05-23  4:18 Vikas Gandhi
  2003-05-23  5:13 ` Hugues Talbot
  0 siblings, 1 reply; 5+ messages in thread
From: Vikas Gandhi @ 2003-05-23  4:18 UTC (permalink / raw)
  To: vkt, Turner, Jay, pthreads-win32

Hi Vinaya 
  I also want ask one basic fundamental quaestion. 
1) Is usage of a product like "pthreads-win32" forces us to release our
source code or not. 
2) Next can we use it as per our with without intimating anyone.

Regards
Vikas

-----Original Message-----
From: Vinaya Kumar T [mailto:vkt@india.hp.com]
Sent: Thursday, May 22, 2003 11:14 PM
To: Turner, Jay
Cc: pthreads-win32@sources.redhat.com
Subject: Re: LGPL and a proprietary application


Hello Jay,

ru linking to this LGPL library statically or dynamically...??
if statically linked ,then u should make only that of the ur src code 
open ,so that , changes in LGPL can
be done effectively.
On other hand ,if it dynamically linked,then u don't have to worry about 
ur src code to be made open.

hope this helps
vinaya


Turner, Jay wrote:

>In reading the LGPL for pthreads-win32 I find I am confused. My application
is company proprietary and one reading says that an application that "uses
the library" does not itself fall under the LGPL. Another reading says that
it does (mainly because it uses pthread.h and semaphore.h).
>
>Can I link to pthreads-win32 in my application without the license
requiring that I provide my source or object code to my customers?
>
>Is there anything that my legal department would accept that would confirm
this?
>
>Thanks, Jay
>
>
>  
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-05-24  6:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22 17:27 LGPL and a proprietary application Turner, Jay
2003-05-22 17:40 ` Vinaya Kumar T
2003-05-24  6:36   ` Ross Johnson
2003-05-23  4:18 Vikas Gandhi
2003-05-23  5:13 ` Hugues Talbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).