On Fri, Dec 14, 2012 at 9:45 PM, Ken Moffat <[email protected]> wrote:

>  At the moment, I don't recognize your results.  Usually, people who
> get the correct results from the sanity checks get a good build.
> Perhaps there is something different about _how_ you built this.
> What host distro are you using ?  Did you check all the host system
> requirements ?
>
>  But, in the absence of any other information (your loader in
> /tools/lib64 apparently using a loader in /lib64 really perplexes
> me!), I don't think I know what is wrong.  Maybe someone else will
> recognize the symptoms.
>
>  Did you run the sanity check after gcc in chapter 5 ?
>
> ĸen
> --
> das eine Mal als Tragödie, das andere Mal als Farce
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>

I ran the ldd command from my user, rather than the lfs user.
My apologies! Sorry if this caused confusion.

ldd /tools/bin/grep now gives:
linux-vdso.so.1 (0x00007fff3658a000)
libc.so.6 => /tools/lib/libc.so.6 (0x00007fbd657d4000)
/tools/lib64/ld-linux-x86-64.so.2 (0x00007fbd65b79000)

and for bash (same thing as before):
linux-vdso.so.1 =>  (0x00007fff31480000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f48f0234000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f48f0030000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f48efc71000)
/lib64/ld-linux-x86-64.so.2 (0x00007f48f045b000)

I did find another clue: when running "make" for the bash package I ran
into a "Permission denied" error for yacc and I somehow sudoed my way
around it. Perhaps this resulted in the wrong libraries being linked
because I was not the lfs user. Will try again and reply back.

Thanks for your help and sorry again for wasting your time with my silly
mistakes.
-- 
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