Re: readline library not found - Mailing list pgsql-novice

From Tom Lane
Subject Re: readline library not found
Date
Msg-id 29459.1193358293@sss.pgh.pa.us
Whole thread Raw
In response to Re: readline library not found  ("G. J. Walsh" <gjwalsh@dscdirectionalservices.com>)
List pgsql-novice
"G. J. Walsh" <gjwalsh@dscdirectionalservices.com> writes:
> So, following Tom Lanes' suggestion, I read through the 1300+ lines of
> the config.log and found this:

> configure:6651 checking for -lreadline
> /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libreadline.so:
> undefined reference to 'PC' 'tgetflag''tgetext' etc etc ...

This is expected, actually.  readline normally depends on another
library or two, typically termcap or ncurses.  If you look further down
you should see configure trying a few combinations of libraries.
On a Linux system I'd expect -lreadline -ltermcap to be the right
magic incantation; maybe you are missing termcap, or maybe Mandriva
uses some weird nonstandard support library.  Try looking into the
documentation for the readline package to see if you can find out what.

            regards, tom lane

pgsql-novice by date:

Previous
From: "G. J. Walsh"
Date:
Subject: Re: readline library not found
Next
From: Brian Hurt
Date:
Subject: plpgsql question: inserting records