Re: readline missing on linux?

From: dalgoda(at)ix(dot)netcom(dot)com (Mike Castle)
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: readline missing on linux?
Date: 2003-08-09 18:29:49
Message-ID: t5rf01xesk.ln2@thune.mrc-home.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

In article <28362(dot)1060363698(at)sss(dot)pgh(dot)pa(dot)us>,
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Just a question --- if you link readline against -ltermcap when the
>> library is created, you don't need to add -ltermcap when you link apps
>> to readline, right? You somehow bind the dependency in to the shared
>> library, right?
>
>It could be done that way, but apparently is not on many platforms.
>What configure is testing for is to see whether "-lreadline" links
>successfully without a following "-ltermcap". It doesn't.

You also then create a difference between static and dynamic linking which
a lot of people, such as myself, hate.

-lreadline for dynamic linking but
-lreadline -ltermcap for static linking?

No thanks; I'd rather have consistency.

mrc
--
Mike Castle dalgoda(at)ix(dot)netcom(dot)com www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message pw 2003-08-09 21:58:34 Re: Installation problem with libreadline
Previous Message Peter and Sarah Childs 2003-08-09 16:11:31 Re: Backup routine