By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,834 Members | 2,265 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,834 IT Pros & Developers. It's quick & easy.

install; readline error with 7.3.4

P: n/a
On my RH 9.0 linux system when ./configuring 7.3.4 I get an error about
not finding the readline libs, however both the readline and
readline-devel rpms are installed:

# rpm -qa | grep readline
readline-4.3-5
readline-devel-4.3-5

What library/rpm am I missing?

The config.log file has this to say:

configure:5786: result: no
configure:5800: checking for readline
configure:5837: gcc -o conftest -O2 conftest.c -lreadline -lcrypt
-lresolv -lnsl -ldl -lm -lbsd >&5
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `tgetnum'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `tgoto'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `tgetflag'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `BC'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `tputs'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `PC'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `tgetent'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `UP'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so:
undefined reference to `tgetstr'
collect2: ld returned 1 exit status

Thanks,

Jean-Christian Imbeault

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Wed, Oct 08, 2003 at 05:34:32PM +0900, Jean-Christian Imbeault wrote:
On my RH 9.0 linux system when ./configuring 7.3.4 I get an error about
not finding the readline libs, however both the readline and
readline-devel rpms are installed:


On some linux redhat-ish distros I think you also need ncurses-devel
and/or termcap-devel for configure to find readline capabilities.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Los dioses no protegen a los insensatos. Éstos reciben protección de
otros insensatos mejor dotados" (Luis Wu, Mundo Anillo)

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.