LFS6.5 - Bash question

David Shaw dj.shaw at btconnect.com
Thu Mar 4 12:51:26 PST 2010

Chris Staub wrote:
> On 03/04/2010 07:14 AM, David Shaw wrote:
>> root:/# ls -l /{usr/,}lib/lib*{readline,curses}*
>> lrwxrwxrwx 1 root root     16 Feb 25 00:27 /usr/lib/libncursesw.so ->
>> libncursesw.so.5
> There's one problem right there. That link is pointing to the wrong 
> location - it should be -> ../../lib/libncursesw.so.5, not just 
> libncurses.so.5. At the very least, you need to recreate the symlink 
> using the command given in the book...
> ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so
> Then rebuild anything up to your current point that depends on Ncurses - 
> I believe that would be Util-linux-ng, Procps, and Readline, then of 
> course Bash itself.
> Near as I can tell everything else looks correct, but if that symlink 
> doesn't fix things, just completely rebuild Ncurses and everything after it.

OK, I'll try that and see how it goes.  Many thanks,


More information about the lfs-support mailing list