On 19/03/2016 12:12, "René Nidegger" wrote:
>>> I am stuck in step 6.26 (psmisc).
>>>
>>> Executing
>>>    ./configure -prefix=/usr
>>> stops with
>>>    configure: error: Cannot find tinfo, ncurses or termcap libraries
>>>
>>>
>>> This seems to be the same problem that already someone else had:
>>>   
>>> http://lists.linuxfromscratch.org/pipermail/lfs-support/2013-January/044353.html
>>>
>>> One answer specifically asked to check the existence of 
>>> $LFS/tools/lib/libncurses.so,
>>> to be created in step 5.15
>>>   
>>> http://lists.linuxfromscratch.org/pipermail/lfs-support/2013-January/044356.html
>>>   
>>> http://lists.linuxfromscratch.org/pipermail/lfs-support/2013-January/044358.html
>>>
>>>
>>> Indeed, this file is missing. So I went back to step 5.15 and re-executed 
>>> the
>>> commands. Nothing seemed to indicate that something is wrong, yet again, the
>>> desired $LFS/tools/lib/libncurses.so was not produced.
>>>
>>> Is there anything I can do about it? 
>>>    
>>>
>> Since ncurses is built before psmisc in chapter 6, chapter 5 ncurses should 
>> be
>> irrelevant. Could you check that /usr/lib/libncurses.so exist and that
>> it is an ascii file containing "INPUT(-lncursesw)" ?
>>
>> If not, I suspect you have not run all the commands at the end of the ncurses
>> page (I mean all the commands except the commands in the "Note", which are 
>> not
>> needed).
>>
> 
> 
> /usr/lib/libncurses.so was missing. So, I probably forgot one step when I
> build ncurses.
> 
> I now executed the steps for ncurses again and
> /usr/lib/libncurses.so is now there with the "INPUT(-lncursesw)" line.
> 
> Yet, it doesn't help the original psmisc problem. When I execute
> ./configure --prefix=/usr
> it still stops with
> configure: error: Cannot find tinfo, ncurses or termcap librariesr
> 

Maybe you have missed other steps when building ncurses. The file
/usr/lib/libncursesw.so should be a symlink to ../../lib/libncursesw.so.6
and the file /lib/lincursesw.so.6 should be a symlink to libncursesw.so.6.0.
Of course the file /lib/libncursesw.so.6.0 should exist and be a shared object.

Did you erase psmisc build tree band untar it again before running configure?

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to