Andreas Barth [2011-02-13 13:01 +0100]:
> If calling psql as
>   LD_PRELOAD=/lib/libreadline.so.5 psql
> everything works as normal. As that is just usage, not linking, that
> isn't covered by the GPL

I can't follow this reasoning. LD_PRELOAD invokes the linker (ld.so)
just in by and large the same way as a linked library through the ELF
header. I don't think that the origin of the link request (ELF header
or environment variable) matters in any way here.

Don't get me wrong, I really hate this libedit hack, but if people are
serious about it, then moving to LD_PRELOAD doesn't buy anything. Then
we can just as well ignore it [1] and switch back to the old
behaviour.

Martin

[1] FWIW, I'd fully support this. If someone from OpenSSL or
libreadline will actually complain and threat us, we can still switch
to libedit..

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to