6.32 Inetutils-1.7: make error: telnetd link sees Undefined 'tgetent'

Bill Brown wubrown at gmail.com
Fri May 21 10:54:15 PDT 2010


Thanks Chris,

Redoing section 6.19 (Ncurses Install) fixed the problem. 
The first listing below is what I have after the reinstall 
of Ncurses (inetutils installs fine):

root:/sources/inetutils-1.7# ls -l /{usr/,}lib/*curses*
lrwxrwxrwx 1 root root     18 May 21 10:26 
/lib/libncursesw.so.5 -> libncursesw.so.5.7
-rwxr-xr-x 1 root root 400156 May 21 10:26 
/lib/libncursesw.so.5.7
lrwxrwxrwx 1 root root     12 May 21 10:29 
/usr/lib/libcurses.a -> libncurses.a
lrwxrwxrwx 1 root root     13 May 21 10:29 
/usr/lib/libcurses.so -> libncurses.so
lrwxrwxrwx 1 root root     13 May 21 10:29 
/usr/lib/libcursesw.a -> libncursesw.a
-rw-r--r-- 1 root root     18 May 21 10:29 
/usr/lib/libcursesw.so
lrwxrwxrwx 1 root root     15 May 21 10:29 
/usr/lib/libncurses++.a -> libncurses++w.a
-rw-r--r-- 1 root root 189088 May 21 10:26 
/usr/lib/libncurses++w.a
lrwxrwxrwx 1 root root     13 May 21 10:29 
/usr/lib/libncurses.a -> libncursesw.a
-rw-r--r-- 1 root root     18 May 21 10:29 
/usr/lib/libncurses.so
-rw-r--r-- 1 root root 730120 May 21 10:26 
/usr/lib/libncursesw.a
lrwxrwxrwx 1 root root     26 May 21 10:28 
/usr/lib/libncursesw.so -> ../../lib/libncursesw.so.5
root:/sources/inetutils-1.7#
----------------------------------------------------
Now below is what didn't work:
root:/sources/inetutils-1.7# ls -l /{usr/,}lib/*curses*
lrwxrwxrwx 1 root root     18 May  2 14:28 
/lib/libncursesw.so.5 -> libncursesw.so.5.7
-rwxr-xr-x 1 root root 400156 May  2 14:28 
/lib/libncursesw.so.5.7
lrwxrwxrwx 1 root root     15 May  2 14:29 
/usr/lib/libncurses++.a -> libncurses++w.a
-rw-r--r-- 1 root root 189088 May  2 14:28 
/usr/lib/libncurses++w.a
lrwxrwxrwx 1 root root     13 May  2 14:29 
/usr/lib/libncurses.a -> libncursesw.a
-rw-r--r-- 1 root root     18 May  2 14:29 
/usr/lib/libncurses.so
-rw-r--r-- 1 root root 730120 May  2 14:28 
/usr/lib/libncursesw.a
lrwxrwxrwx 1 root root     26 May  2 14:28 
/usr/lib/libncursesw.so -> ../../lib/libncursesw.so.5


On 5/20/2010 10:15 PM, Chris Staub wrote:
> On 05/21/2010 01:06 AM, Bill Brown wrote:
>
>> LFS ver 6.6: chapter 6.32
>>
>> while making inetutils-1.7 I get the following error:
>>
>> utility.o: In function `terminaltypeok':
>> /sources/inetutils-1.7/telnetd/utility.c:825: undefined reference to
>> `tgetent'
>> collect2: ld returned 1 exit status
>> make[2]: *** [telnetd] Error 1
>> ------------
>> tgetent as I understand it is provided in the termcap package.  I tried
>> installing termca-1.3.1 but that did not fix the problem.
>>
>> Any suggestions?
>>
>> Bill
>>
> You've got a problem with your Ncurses installation. What is the output
> of "ls -l /{usr/,}lib/*curses*"
>



More information about the lfs-support mailing list