Skip site navigation (1) Skip section navigation (2)

Re: readline library not found

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "G(dot) J(dot) Walsh" <gjwalsh(at)dscdirectionalservices(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: readline library not found
Date: 2007-10-26 00:24:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
"G. J. Walsh" <gjwalsh(at)dscdirectionalservices(dot)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/../../../
> 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

In response to

pgsql-novice by date

Next:From: Brian HurtDate: 2007-10-26 17:25:02
Subject: plpgsql question: inserting records
Previous:From: G. J. WalshDate: 2007-10-25 21:13:25
Subject: Re: readline library not found

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group