dbTalk Databases Forums  

[BUGS] Readline lib configure error. Help

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Readline lib configure error. Help in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roman Avdeenko
 
Posts: n/a

Default [BUGS] Readline lib configure error. Help - 01-21-2004 , 11:00 AM






Hi!
Use RH Linux90.
Try configure postgresql-7.4.1

Type ./configure

Error is
checking for readline... no
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.

But I want use readline

This is config.log

configure:5999: checking for readline
configure:6036: gcc -o conftest -O2 -fno-strict-aliasing -g
-D_GNU_SOURCE conftest.c -lreadline -lcrypt -lresolv -lnsl -ldl -lm
-lbsd
Quote:
&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

Have installed readline-4.3-5, readline41-4.1-16, readline-devel-4.3-5
Thank you.



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Readline lib configure error. Help - 01-21-2004 , 02:01 PM






Roman Avdeenko <rav (AT) ih (DOT) net.ua> writes:
Quote:
Use RH Linux90.
Try configure postgresql-7.4.1
Type ./configure
Error is
checking for readline... no
It works for me on a stock RHL 9 machine (or I think it's stock, anyway,
it's not my machine...).

Quote:
Have installed readline-4.3-5, readline41-4.1-16, readline-devel-4.3-5
This machine has

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

Maybe the presence of two different readline versions is confusing
matters on your machine?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.