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

From Bruce Momjian
Subject Re: readline missing on linux?
Date
Msg-id 200308081732.h78HWXZ02745@candle.pha.pa.us
Whole thread Raw
In response to readline missing on linux?  ("Randolph Jones" <jonesrf1@qwest.net>)
List pgsql-admin
Tom Lane 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.

Yes, that's what I thought.  Someone submitted a patch to add -lm to
ecpglib because it seems it needs it now and we don't want all the apps
to have to link it in.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-admin by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: ext3 block size
Next
From: Bruce Momjian
Date:
Subject: Re: [webmaster] Database Infos