LFS 6.2 ncurses failure
dbn.lists at gmail.com
Tue Aug 8 15:21:48 PDT 2006
On 8/8/06, Peter Ennis <peterennis at yahoo.com> wrote:
> I followed the debug suggestions, output attached
> with comments. I also ran the sanity check.
> It shows some succeeded and also failed messages.
> The succeeded match the book but there is no
> info about failed.
This was the failure. It's still looking in /tools/lib, and we don't
build the wide character libncursesw in Ch. 5. See below. BTW, thanks
for including the sanity check. Always helpful.
> root:/ncurses-5.5# find / -name libncursesw.so.5 -ls
> find: /proc/1/task: Permission denied
> 116158 0 lrwxrwxrwx 1 root root 18 Aug 8 16:18 /usr/lib/libncursesw.so.5 -> libncursesw.so.5.5
> 195912 0 lrwxrwxrwx 1 root root 18 Aug 8 00:35 /ncurses-5.5/lib/libncursesw.so.5 -> libncursesw.so.5.5
OK, so libncursesw is there, but not in /tools.
> SEARCH_DIR("/tools/i686-pc-linux-gnu/lib"); SEARCH_DIR("/tools/lib");
Uh oh. ld is still looking in /tools.
> attempt to open /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../crt1.o succeeded
> attempt to open /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../crti.o succeeded
> attempt to open /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/crtbegin.o succeeded
> attempt to open /tmp/cc23jykd.o succeeded
> attempt to open /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/libgcc.so failed
So is gcc. Try the sanity check again, but add in -lncursesw and
you'll see it fail just like is happening for tic. Also `ldd tic'
would show this.
Looks like you missed the toolchain adjustment somehow. I imagine this
is exactly the same thing that happened to the other guy (and you in
Ch. 5). I've gotta remember this for future reference. Possible FAQ
material since it comes up from time to time.
More information about the lfs-support