On 05/02/2011 10:54 AM, Graham Beck wrote:
> ... and I've just found the 'rm -f libexpect5.45.so' line above that
> DJ Lucas mentioned was needed. So here's the necessary output:
>
> rm -f libexpect5.45.so
> i686-lfs-linux-gnu-gcc -B/tools/lib/ -shared -pipe -O2

<snip>

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

Reply via email to