| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Randolph Jones <jonesrf1(at)qwest(dot)net>, pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: readline missing on linux? |
| Date: | 2003-08-08 17:32:33 |
| Message-ID: | 200308081732.h78HWXZ02745@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Tom Lane 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.
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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2003-08-08 17:38:12 | Re: [webmaster] Database Infos |
| Previous Message | Tom Lane | 2003-08-08 17:28:18 | Re: readline missing on linux? |