Dwight Johnson <dwj@aaronsrod.com> writes: | gcc -o psql -L../../interfaces/libpq psql.o stringutils.o \ | -lpq -ldl -lm -lbsd -lreadline -lhistory -export-dynamic | /usr/lib/libreadline.a(display.o): In function `rl_redisplay': | display.o(.text+0x9bf): undefined reference to `tputs' | | According to a Usenet post, tputs is in libncurses. But I have | libncurses installed: | | # rpm -q ncurses | ncurses-4.2-1 | | Can anyone give me a clue how to fix this? The following patch should fix it; after applying, please run `autoconf' again. *** postgresql-6.3.2/src/configure.in~ Fri Apr 17 09:00:46 1998 --- postgresql-6.3.2/src/configure.in Mon May 11 17:37:34 1998 *************** *** 305,311 **** dnl fi dnl AC_SUBST(HAVECXX) dnl **************************************************************** ! HAVECXX='HAVE_Cplusplus=false' AC_SUBST(HAVECXX) INSTALLPATH="/usr/ucb:$PATH" AC_PATH_PROGS(INSTALL, ginstall installbsd bsdinst scoinst install, NONE, $INSTALLPATH) --- 305,311 ---- dnl fi dnl AC_SUBST(HAVECXX) dnl **************************************************************** ! HAVECXX='HAVE_Cplusplus=true' AC_SUBST(HAVECXX) INSTALLPATH="/usr/ucb:$PATH" AC_PATH_PROGS(INSTALL, ginstall installbsd bsdinst scoinst install, NONE, $INSTALLPATH) *************** *** 400,406 **** fi AC_CHECK_LIB(sfio, main) ! AC_CHECK_LIB(curses, main) AC_CHECK_LIB(termcap, main) AC_CHECK_LIB(history, main) AC_CHECK_LIB(readline, main) --- 400,409 ---- fi AC_CHECK_LIB(sfio, main) ! for curses in ncurses curses ; do ! AC_CHECK_LIB(${curses}, main, ! [LIBS="-l${curses} $LIBS"; break]) ! done AC_CHECK_LIB(termcap, main) AC_CHECK_LIB(history, main) AC_CHECK_LIB(readline, main) -- Karl Eichwalder S.u.S.E. GmbH Fax +49-911-3206727 ke@suse.de Gebhardtstrasse 2 Mo & Th 13:00-18:00: <A HREF="http://www.suse.de"><A HREF="http://www.suse.de</A">http://www.suse.de</A</A>> 90762 Fuerth, Germany Hotline +49-911-3247130 -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e