| 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:19:40 |
| Message-ID: | 200308081719.h78HJe701549@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
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?
---------------------------------------------------------------------------
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > It appears your readline needs -ltermcap, -lterminfo, or -lcurses to
> > link properly. I think this happens when the readline library is not
> > linked against those when it is created.
>
> On Red Hat 8.0, readline depends on -ltermcap. I would imagine the same
> is true on RH9, but haven't got it installed personally.
>
> If you don't have termcap (and possibly termcap-devel, not sure if
> that's needed) then configure should detect the missing dependency.
> Maybe it did --- you didn't show us enough of config.log to see what
> happened.
>
> regards, tom lane
>
--
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 | Tom Lane | 2003-08-08 17:28:18 | Re: readline missing on linux? |
| Previous Message | scott.marlowe | 2003-08-08 15:51:56 | Re: ext3 block size |