Re: readline missing on linux? - Mailing list pgsql-admin

From dalgoda@ix.netcom.com (Mike Castle)
Subject Re: readline missing on linux?
Date
Msg-id t5rf01xesk.ln2@thune.mrc-home.org
Whole thread Raw
In response to Re: readline missing on linux?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
In article <28362.1060363698@sss.pgh.pa.us>,
Tom Lane  <tgl@sss.pgh.pa.us> wrote:
>Bruce Momjian <pgman@candle.pha.pa.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@ix.netcom.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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Backup routine
Next
From: Peter and Sarah Childs
Date:
Subject: Re: Backup routine