Compiling 7.2.3 on RH 8.0 - Mailing list pgsql-general

From Josh Berkus
Subject Compiling 7.2.3 on RH 8.0
Date
Msg-id web-2323784@davinci.ethosmedia.com
Whole thread Raw
Responses Re: Compiling 7.2.3 on RH 8.0
Re: Compiling 7.2.3 on RH 8.0
List pgsql-general
Folks,

For the first time, I'm trying to compile 7.2.3 on a RedHat 8.0 server.
 I'm normally a SuSE user, so I've hit a bit of a wall.

I'm getting errors like this when I try to compile Postgres:

> configure:5800: checking for readline
> configure:5837: gcc -o conftest -O2     -L/usr/lib
> conftest.c -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd  >&5
> /usr/lib/libreadline.so: undefined reference to `tgetnum'
> /usr/lib/libreadline.so: undefined reference to `tgoto'
> /usr/lib/libreadline.so: undefined reference to `tgetflag'
> /usr/lib/libreadline.so: undefined reference to `BC'
> /usr/lib/libreadline.so: undefined reference to `tputs'
> /usr/lib/libreadline.so: undefined reference to `PC'
> /usr/lib/libreadline.so: undefined reference to `tgetent'
> /usr/lib/libreadline.so: undefined reference to `UP'
> /usr/lib/libreadline.so: undefined reference to `tgetstr'

These are the same sort of errors reported by David Busby about a month
ago; however, I tried his solution (manipulating --with-libs) and it
didn't make a difference.

Suggestions, please?

I do have libreadline4.3-3, libtermcap, ncurses, and devel rpms for all
installed.  Help!

Thanks,
Josh


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: createlang and Schemas
Next
From: Bruno Wolff III
Date:
Subject: Re: Truncate width Postgres 7.3