Thread: Re: readline missing on linux

Re: readline missing on linux

From
"Randolph Jones"
Date:
From: Bruce Momjian
> 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.
>
> ---------------------------------------------------------------------------
>
> Randolph Jones wrote:
>> I am getting configure failures due to missing readline.
>> I have redhat 9, 2.4.21, with readline and readline-devel 2.4.2 installed.
>> I
Thanks for your reply.
I have termcap and ncurses installed.
Do I need to install terminfo?
How do I link them to readline?
TIA
rfjones


Re: readline missing on linux

From
Bruce Momjian
Date:
Uh, I am not sure.  I would re-install readline and see if it picks up
those libraries this time.

What failures are you seeing, exactly?  Oh, I remember, it is linking
failures.  You can fix it manually if you add -ltermcap to the link
line, and you can even have configure add it using one of its flags.

---------------------------------------------------------------------------

Randolph Jones wrote:
>
> From: Bruce Momjian
> > 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.
> >
> > ---------------------------------------------------------------------------
> >
> > Randolph Jones wrote:
> >> I am getting configure failures due to missing readline.
> >> I have redhat 9, 2.4.21, with readline and readline-devel 2.4.2 installed.
> >> I
> Thanks for your reply.
> I have termcap and ncurses installed.
> Do I need to install terminfo?
> How do I link them to readline?
> TIA
> rfjones
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>

--
  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

Re: readline missing on linux

From
Bruce Momjian
Date:
I just read that the problem reporter got it working ... nevermind.

---------------------------------------------------------------------------

Bruce Momjian wrote:
>
> Uh, I am not sure.  I would re-install readline and see if it picks up
> those libraries this time.
>
> What failures are you seeing, exactly?  Oh, I remember, it is linking
> failures.  You can fix it manually if you add -ltermcap to the link
> line, and you can even have configure add it using one of its flags.
>
> ---------------------------------------------------------------------------
>
> Randolph Jones wrote:
> >
> > From: Bruce Momjian
> > > 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.
> > >
> > > ---------------------------------------------------------------------------
> > >
> > > Randolph Jones wrote:
> > >> I am getting configure failures due to missing readline.
> > >> I have redhat 9, 2.4.21, with readline and readline-devel 2.4.2 installed.
> > >> I
> > Thanks for your reply.
> > I have termcap and ncurses installed.
> > Do I need to install terminfo?
> > How do I link them to readline?
> > TIA
> > rfjones
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> >     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> >
>
> --
>   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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>

--
  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