On 4/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Quoting Tijnema ! <[EMAIL PROTECTED]>:
> >
> > More important is the last thing, make sure the linker exists, and has
> > the same name as the one that is compiled into the binary (readelf -l
> > /bin/mount)
> > Also, the dynamic linker needs to be executable.
> >
> Yes it was compiled against /tools/lib/ldsomething.so.x
> what step i have missed? i recompiled it and now linux boots up and sort of
> works apart from networking. What should i do? Should i recompile all the
> stuff? Now i just recompiled util-linux..
My guess is that a lot of stuff got messed up since util-linux is all
the way at the end. Somehow, your toolchain got pointed at /tools
again. It's hard to say how many things are messed up. You might want
to run a loop over some of the directories to find out what's messed
up.
$ for prog in /bin/* /sbin/* /usr/bin/* /usr/sbin/*; do
if readelf -l $prog 2>/dev/null | grep -q 'interpreter: /tools'; then
echo $prog
fi
done
That will spit out a list of all the program that are linked to
/tools/ld-linux.so.2. If there are a lot of them, then you'll have to
decide whether it's easier to start over or just rebuild things in
place.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page