chroot.libgcc

Dan Nicholson dbn.lists at gmail.com
Tue Feb 27 15:49:21 PST 2007


On 2/27/07, Ken Moffat <ken at linuxfromscratch.org> wrote:
> >
> > CC="gcc" /usr/bin/perl scripts/test-installation.pl /usr/src/glibc/src/
> > /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld:
> > dynamic-linker=/lib/ld-linux.so.2: No such file: No such file or directory
> > collect2: ld returned 1 exit status
>
>  That is possibly saying that /lib/ld-linux.so.2 didn't get
> installed (the perl script to test the installation happens at the
> end of the install).  Did you log the output from the install ?  Are
> you out of disk space ?

Yeah, at this point in `make install', everything should be in place.
One of the last steps is running that perl script to test it out.

It looks like you might have messed up the sed command from earlier.
ld is saying that it can't find the file
"dynamic-linker=/lib/ld-linux.so.2". However, the sed to
test-installation.pl is supposed to be changing it so the the option
-dynamic-linker=/lib/ld-linux.so.2 is being passed to ld. Notice the -
before dynamic-linker. In that case, it wouldn't try to interpret
dynamic-linker=... as a file. At least, that's what it looks like to
me.

--
Dan



More information about the lfs-support mailing list