Re: Update to readline and Postgresql

From: Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de>
To: tmorrison <tmorrison(at)avaya(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Update to readline and Postgresql
Date: 2002-04-04 19:42:39
Message-ID: Pine.LNX.4.21.0204042123480.2264-100000@lothlorien.stunet2.tu-freiberg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 4 Apr 2002, tmorrison wrote:
> configure:3288: checking for readline
> configure:3310: gcc -o conftest -O9 -I/usr/local/include -L/usr/local/lib
> conftest.c -lreadline 1>&5
> /usr/local/lib/libreadline.so: undefined reference to `tgetnum'
> /usr/local/lib/libreadline.so: undefined reference to `tgoto'
> /usr/local/lib/libreadline.so: undefined reference to `tgetflag'
> /usr/local/lib/libreadline.so: undefined reference to `BC'
> /usr/local/lib/libreadline.so: undefined reference to `tputs'
> /usr/local/lib/libreadline.so: undefined reference to `PC'
> /usr/local/lib/libreadline.so: undefined reference to `tgetent'
> /usr/local/lib/libreadline.so: undefined reference to `UP'
> /usr/local/lib/libreadline.so: undefined reference to `tgetstr'

These are symbols from libtermcap or libncurses; if you look a little bit
further down, configure will try to link with "-lreadline -ltermcap" -- does
this fail as well? If it does (maybe you do not have a termcap library), try
running configure with "LDFLAGS=-lncurses ./configure ..." to force
linking in of libncurses

Regards
--
Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de> /| \__
Network admin, systems programmer /_|____\
_/\ | __)
$ ./configure \\ \|__/__|
checking whether build environment is sane... yes \\/___/ |
checking for AIX... no (we already did this) |

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philip Hallstrom 2002-04-04 19:43:49 PostgreSQL on Windows or MS-SQLServer???
Previous Message Tom Lane 2002-04-04 19:09:50 Re: Problem with factorial operator