On Thu, Jan 17, 2013 at 1:27 PM, Pierre Labastie <[email protected]>wrote:

> 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)?
>
Here are the results of the ls command:

root:/sources/psmisc-22.19# ls -l /lib/*curses*
lrwxrwxrwx 1 root root     18 Jan 17 08:31 /lib/libncursesw.so.5 ->
libncursesw.so.5.9
-rwxr-xr-x 1 root root 394184 Jan 17 08:31 /lib/libncursesw.so.5.9
root:/sources/psmisc-22.19# ls -l /usr/lib/*curses*
lrwxrwxrwx 1 root root     12 Jan 17 08:39 /usr/lib/libcurses.a ->
libncurses.a
lrwxrwxrwx 1 root root     13 Jan 17 08:38 /usr/lib/libcurses.so ->
libncurses.so
lrwxrwxrwx 1 root root     13 Jan 17 08:38 /usr/lib/libcursesw.a ->
libncursesw.a
-rw-r--r-- 1 root root     18 Jan 17 08:37 /usr/lib/libcursesw.so
lrwxrwxrwx 1 root root     15 Jan 17 08:35 /usr/lib/libncurses++.a ->
libncurses++w.a
-rw-r--r-- 1 root root 131800 Jan 17 08:31 /usr/lib/libncurses++w.a
lrwxrwxrwx 1 root root     13 Jan 17 08:35 /usr/lib/libncurses.a ->
libncursesw.a
-rw-r--r-- 1 root root     17 Jan 17 08:35 /usr/lib/libncurses.so
lrwxrwxrwx 1 root root     17 Jan 17 08:42 /usr/lib/libncurses.so.5 ->
libncurses.so.5.9
-rwxr-xr-x 1 root root 328441 Jan 17 08:42 /usr/lib/libncurses.so.5.9
-rw-r--r-- 1 root root 554100 Jan 17 08:31 /usr/lib/libncursesw.a
lrwxrwxrwx 1 root root     26 Jan 17 08:32 /usr/lib/libncursesw.so ->
../../lib/libncursesw.so.5

I'm in chroot environment.
Regards,
Israel
-- 
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