pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dalgoda@ix.netcom.com
To: pgsql-admin@postgresql.org
Subject: Re: readline missing on linux?
Date: Sat, 09 Aug 2003 11:29:49 -0700
Message-ID: <t5rf01xesk.ln2@thune.mrc-home.org> (raw)
References: <200308081719.h78HJe701549@candle.pha.pa.us>
	<28362.1060363698@sss.pgh.pa.us>

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



view thread (10+ messages)  latest in thread

Message-ID: <t5rf01xesk.ln2@thune.mrc-home.org>
Permalink:  ../t5rf01xesk.ln2@thune.mrc-home.org/
Also on:    postgresql.org/message-id/t5rf01xesk.ln2@thune.mrc-home.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dalgoda@ix.netcom.com
  Subject: Re: readline missing on linux?
  In-Reply-To: <t5rf01xesk.ln2@thune.mrc-home.org>
  References: <200308081719.h78HJe701549@candle.pha.pa.us> <28362.1060363698@sss.pgh.pa.us> <t5rf01xesk.ln2@thune.mrc-home.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox