Missing -lncurses in Slackware Linux

From: Chuck Martin <unicorn+midish_at_sdf.org>
Date: Wed Nov 20 2013 - 07:04:44 CET
I've been trying to compile midish, and have been getting an error:

| cc   -DUSE_ALSA \
|           -o rmidish rmidish.c -lreadline
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tputs'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgoto'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgetflag'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `UP'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgetent'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgetnum'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `PC'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgetstr'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `BC'
| collect2: error: ld returned 1 exit status
| make: *** [rmidish] Error 1
| cc   -DUSE_ALSA \
|           -o rmidish rmidish.c -lreadline
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tputs'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgoto'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgetflag'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `UP'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgetent'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgetnum'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `PC'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `tgetstr'
| /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../libreadline.so: undefined reference to `BC'
| collect2: error: ld returned 1 exit status
| make: *** [rmidish] Error 1

In looking at the configure script, I see that the -lncurses that was
present in version 1.0.6 has been removed from the CVS snapshot for Linux,
but not for OpenBSD.  I'm running Slackware 14.0, and it seems that
-lncurses is also required for Slackware, so the test in the configure
script will need to be changed.  Thanks.

Chuck
Received on Wed, 20 Nov 2013 01:04:44 -0500

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:27 CET