make - no such file or directory

Dan Nicholson dbn.lists at
Fri Feb 2 10:05:02 PST 2007

On 2/2/07, Ken Moffat <ken at> wrote:
> >
>  So, we are back to my original assumption - you have linked at
> least part of the chapter 5 programs against the host's libraries
> instead of against libraries in /tools.

Try this out (probably from outside the chroot):

for p in /tools/bin/*; do
   echo -n "$p: "
   readelf -l $p 2>/dev/null | grep ld-linux

Does it say /lib/ for anything? It should say
/tools/lib/ for everything (or very close to it).


More information about the lfs-support mailing list