Thank you for your reply - I was resigning myself to having to start
from scratch, but I'll try what you suggested first. Before I do, I'll
just fill you in on what you asked:

output of '$LFS_TGT-gcc -dumpspecs | grep ld-linux':
{*}/lib/ld-uClibc.so.0;:/lib/ld-linux.so.2

so you're right about that not being /tools/lib/ld-linux*

output of 'ls -l /tools/lib/libutil.so.1': * /tools/lib/libutil.so.1
-> libutil-2.13.so

which I think is OK - this is precisely why I couldn't understand why
I was getting the error. Anyway, I'll try going back to gcc pass 2.
Thanks again for your help!

Graham


On Sat, May 7, 2011 at 6:09 AM, DJ Lucas <[email protected]> wrote:
>
> Sorry no response until now, I had hoped that somebody else had answered
> as I have been away for a bit. Anyway, the build is still using the
> cross compiler. After gcc pass 2 in chapter 5, I believe that the
> compiler command used should be simply gcc as opposed to the host
> specific compiler ($LFS-TGT-gcc). Your specs adjustment seems to be
> correct, but the output of '$LFS_TGT-gcc -dumpspecs | grep ld-linux'
> posted to list can verify that for you (the path should be
> /tools/lib/ld-linux*). Chances are that you need to go back and rebuild
> gcc-pass2. My best guess is that the startfiles fix patch was not
> applied, however, that does not explain why libutil was not found
> suggesting that the glibc installation is not good. What is the output
> of 'ls -l /tools/lib/libutil.so.1'? Given that you are only a few
> packages in, it might be easier (though less is learned) to simply wipe
> the tools directory and start over.
>
> -- DJ Lucas
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
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