GPL, readline, and static/dynamic linking

Lists: pgsql-hackers
From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: GPL, readline, and static/dynamic linking
Date: 2001-02-22 15:50:17
Message-ID: 200102221550.KAA20883@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Here is an article about GPL and GPL version 3.0.

http://icd.pennnet.com/Articles/Article_Display.cfm?Section=Articles&SubSection=Display&ARTICLE_ID=92350&VERSION_NUM=1

The interesting thing is that Stallman says:

"Our position is that it makes no difference whether programs are linked
statically or dynamically," explains Stallman. "Either one makes a
combined program.

This would seem to imply that our dynamic linking of libreadline in
PostgreSQL backend binaries makes the distribution of backend binaries
fall under the GPL. (Of course, we can use *BSD libedit now.)

Let me add I don't agree with this, and find the whole GPL
heavy-handedness very distasteful.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026


From: teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GPL, readline, and static/dynamic linking
Date: 2001-02-22 16:57:48
Message-ID: xuyk86ibqpf.fsf@halden.devel.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:

> Here is an article about GPL and GPL version 3.0.
>
> http://icd.pennnet.com/Articles/Article_Display.cfm?Section=Articles&SubSection=Display&ARTICLE_ID=92350&VERSION_NUM=1
>
> The interesting thing is that Stallman says:
>
> "Our position is that it makes no difference whether programs are linked
> statically or dynamically," explains Stallman. "Either one makes a
> combined program.
>
> This would seem to imply that our dynamic linking of libreadline in
> PostgreSQL backend binaries makes the distribution of backend binaries
> fall under the GPL.

This was discussed extensively earlier. Linking dynamically or
statically doesn't make a difference in the case of a library, but as
long as readline is an optional feature for the user it's not a
problem.

--
Trond Eivind Glomsrød
Red Hat, Inc.


From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Trond Eivind Glomsrød <teg(at)redhat(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GPL, readline, and static/dynamic linking
Date: 2001-02-22 20:45:43
Message-ID: 982874743.3a957a770e4c9@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Mensaje citado por: Trond Eivind Glomsrød <teg(at)redhat(dot)com>:

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>
> > Here is an article about GPL and GPL version 3.0.
> >
> >
>
http://icd.pennnet.com/Articles/Article_Display.cfm?Section=Articles&SubSection=Display&ARTICLE_ID=92350&VERSION_NUM=1
> >
> > The interesting thing is that Stallman says:
> >
> > "Our position is that it makes no difference whether programs are
> linked
> > statically or dynamically," explains Stallman. "Either one makes a
> > combined program.
> >
> > This would seem to imply that our dynamic linking of libreadline in
> > PostgreSQL backend binaries makes the distribution of backend
> binaries
> > fall under the GPL.
>
> This was discussed extensively earlier. Linking dynamically or
> statically doesn't make a difference in the case of a library, but as
> long as readline is an optional feature for the user it's not a
> problem.

I agree with Trond on this. It's like the problem that PHP had with bc until it
got LGPLed. All they did was say you could compile PHP with it, but you had to
downloaded by ourself.

Saludos... :-)

System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------


From: ncm(at)zembu(dot)com (Nathan Myers)
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: GPL, readline, and static/dynamic linking
Date: 2001-02-22 21:03:27
Message-ID: 20010222130327.A4314@store.zembu.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Thu, Feb 22, 2001 at 10:50:17AM -0500, Bruce Momjian wrote:
> Let me add I don't agree with this, and find the whole GPL
> heavy-handedness very distasteful.

Please, not this again. Is there a piss-and-moan-about-the-GPL
schedule posted somewhere?

Either PG is in compliance, or it's not. Only libreadline's copyright
holder has the right to complain if it's not. There is no need to
speculate; if we care about compliance, we need only ask the owner.
If the owner says we're violating his license, then we can comply, or
negotiate, or stop using the code. The GPL is no different from any
other license, that way.

Complaining about the terms on something you got for nothing has to be
the biggest waste of time and attention I've seen on this list.

Nathan Myers
ncm(at)zembu(dot)com


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
Cc: Trond Eivind Glomsrød <teg(at)redhat(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GPL, readline, and static/dynamic linking
Date: 2001-02-22 21:04:37
Message-ID: 200102222104.QAA16712@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> > This was discussed extensively earlier. Linking dynamically or
> > statically doesn't make a difference in the case of a library, but as
> > long as readline is an optional feature for the user it's not a
> > problem.
>
> I agree with Trond on this. It's like the problem that PHP had with bc until it
> got LGPLed. All they did was say you could compile PHP with it, but you had to
> downloaded by ourself.

Yes, we don't distribute libreadline. We just check in 'configure' for
it.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026


From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>, Trond Eivind Glomsrød <teg(at)redhat(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GPL, readline, and static/dynamic linking
Date: 2001-02-22 21:36:36
Message-ID: 982877796.3a9586649be50@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Mensaje citado por: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>:

> > > This was discussed extensively earlier. Linking dynamically or
> > > statically doesn't make a difference in the case of a library, but
> as
> > > long as readline is an optional feature for the user it's not a
> > > problem.
> >
> > I agree with Trond on this. It's like the problem that PHP had with bc
> until it
> > got LGPLed. All they did was say you could compile PHP with it, but
> you had to
> > downloaded by ourself.
>
> Yes, we don't distribute libreadline. We just check in 'configure' for
> it.

In that case, I would say that there is nothing to discuss. RMS has nothing to
say about this.
The only problem would be if Postgres would be distributed with libreadline.

Saludos... :-)

System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------