||11-28-2010 09:33 AM
6.7 Chapter 6.9 - Glibc Install Error
I haven't posted here in awhile, but I've been trying to do an LFS build and I'm having a bit of trouble installing Glibc (3rd pass). During compile I get the exact output stated in this thread
, but if I read it right those errors shouldn't pose a problem on installation. This is my install error:
CC="gcc" /usr/bin/perl scripts/test-installation.pl /usr/src/glibc-build/
/tools/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../x86_64-unknown-linux-gnu/bin/ld: : No such file: No such file or directory
collect2: ld returned 1 exit status
Execution of gcc failed!
I checked for improper symbolic links as was suggested further down the error message, but couldn't find any. I'm building on Ubuntu Studio 10.10 but at this point I don't think the host system has anything to do with the build. It's a 64 bit machine and I have redone this chapter a few times so I'm pretty sure it wasn't some typo or skipped step. I did see an 'ld-audit' patch in the patch download directory, but the description said it was a security fix so I don't think it's relevant either. A search in '/tools/lib/gcc/x86_64-unknown-linux-gnu/4.5.1' for 'x86_64-unknown-linux-gnu' returned no results. There is also a '/tools/lib/gcc/x86_64-lfs
-linux-gnu/ directory, should this be the one the program is looking in?. Is something pointing to the wrong directory or should there be a file called 'ld' in that directory? I greatly appreciate any help. I want to get this first build out of the way so I can do a CLFS for a really old i686 machine that I want to bring back to life!