Re: Readline lib configure error. Help

From: Reece Hart <reece(at)in-machina(dot)com>
To: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Readline lib configure error. Help
Date: 2004-01-22 17:40:57
Message-ID: 1074793256.18666.162.camel@tallac
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, 2004-01-21 at 08:41, Roman Avdeenko wrote:

> Use RH Linux90.
> Try configure postgresql-7.4.1
> >&5/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
> undefined reference to `tgetnum'

Roman-

This also works for me on RH9.0 (athlon). While configuring, I get
checking for readline... yes (-lreadline -ltermcap)

The symbols you're apparently missing are usually provided by termcap,
curses, or ncurses. I suspect you're missing one of them or, worse,
they're corrupted.

Some things to try:

1) Verify that you've got termcap installed and that it's okay. Do 'rpm
-V termcap'. No output is good, everything else is suspect. Install if
not present.

2) If you don't need rl4.1, consider doing rpm -e readline41. That's
probably not your problem, but it's easy to eliminate.

3) Do 'rpm -V readline readline-devel'. Again, no output is good,
otherwise investigate the issue. Install if missing.

4) Ensure that your environment doesn't have C_INCLUDE_PATH,
LIBRARY_PATH, or LD_LIBRARY_PATH set (try 'env|grep path').

5) I've attached a list of rpms on my machine (rpm -qa|sort). comm this
file with a similar list from your machine. Perhaps something will stand
out.

Good luck,
Reece

--
Reece Hart, http://www.in-machina.com/~reece/, GPG:0x25EC91A0

Attachment Content-Type Size
rpmpkgs text/plain 31.9 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Reece Hart 2004-01-22 18:17:38 Re: Readline lib configure error. Help
Previous Message Tom Lane 2004-01-22 15:43:37 Re: Tuple is too big: size 9104, max size 8128