Le 17/01/2013 09:53, Israel Silberg a écrit :
> Hi all,
> I'm working on LFS 7.2 and in section 6.23 in the ./configure of 
> Psmisc-22.19 I got the following error
> [...]
> checking for tgetent in -lncurses... no
> checking for tgetent in -ltermcap... no
> configure: error: Cannot find tinfo, ncurses or termcap libraries
>
> ncurses was compiled and installed without any errors.
> How can I solve the problem?
> Israel
>
Hi,
I have
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... yes. SO it seems that something got 
wrong
during the installation of ncurses.

There are a bunch of instructions at the end of ncurses installation, 
which move libraries around
and create some links. If you do not automate the build, it is very easy
to forget one of those instructions. Usually the kind of error you are 
seeing comes from one of the ncurses links or libraries not being at the 
right place.

Another possibility is that you exited chroot and forgot to reenter.

What are the results of "ls -l /lib/*curses*" and "ls -l 
/usr/lib/*curses*" (in chroot)?

Regards
Pierre

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to