Re: GNU readline and BSD license - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GNU readline and BSD license
Date
Msg-id 12656.978135305@sss.pgh.pa.us
Whole thread Raw
In response to Re: GNU readline and BSD license  (Alfred Perlstein <bright@wintelcom.net>)
Responses Re: GNU readline and BSD license
Re: GNU readline and BSD license
List pgsql-hackers
Alfred Perlstein <bright@wintelcom.net> writes:
> Rasmus Lerdorf warned one of you guys that simply linking to GNU
> readline can contaminate code with the GPL.

> Readline isn't LGPL which permits linking without lincense issues,
> it is GPL which means that if you link to it, you must be GPL as
> well.

I do not believe that.  In fact, I'll go further and say "Horsepucky!"
The GPL applies to works that "contain or are derived from" a GPL'd
program.  Linking to a separately distributed library does not cause
psql either to contain or to be derived from libreadline.

If we distributed binary executables that contained statically linked
copies of libreadline, then indeed we'd have a problem.  We do not,
AFAIK, and we have no intention of doing so in the future.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: GNU readline and BSD license
Next
From: Tom Lane
Date:
Subject: Re: NULLS and <> : Discrepancies ?