Re: Debian readline/libedit breakage - Mailing list pgsql-hackers

From Markus Wanner
Subject Re: Debian readline/libedit breakage
Date
Msg-id 4D59220F.5080301@bluegap.ch
Whole thread Raw
In response to Debian readline/libedit breakage  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Debian readline/libedit breakage  (Magnus Hagander <magnus@hagander.net>)
Re: Debian readline/libedit breakage  (Martin Pitt <mpitt@debian.org>)
Re: Debian readline/libedit breakage  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-hackers
Hi,

On 02/10/2011 11:34 PM, Joshua D. Drake wrote:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607109
> 
> It seems we may have a problem to consider. As far as I know, we are the
> only major platform that supports libedit but our default is readline.
> Unfortunately readline is not compatible with OpenSSL (apparently?)
> licensing.

Anybody realized that this Debian bug (and several others) got closed in
the mean time (Sunday)?  According to the changelog [1], Martin Pitt
(which I'm CC'ing here, as he might not be aware of this thread, yet)
worked around this issue by pre-loading readline via LD_PRELOAD for psql.

Personally, I'm a bit suspicious about that solution (technically as
well as from a licensing perspective), but it's probably the simplest
way to let only psql link against readline.

Regards

Markus Wanner


[1]: Changelog for postgresql-common on Debian:
http://packages.debian.org/changelogs/pool/main/p/postgresql-common/current/changelog


pgsql-hackers by date:

Previous
From: Markus Wanner
Date:
Subject: Re: Debian readline/libedit breakage
Next
From: Magnus Hagander
Date:
Subject: Re: Debian readline/libedit breakage