First-time LFS book reader beeing stuck

Vladimir A. Pavlov pv4 at
Thu Aug 17 12:21:33 PDT 2006

On Thursday 17 August 2006 22:46, Richard Szlachta wrote:
> // if prompt seems strange to someone
> root at fireball:/data#: file /data
> /data: symbolic link to `/mnt/data'
Very strange... /data link seems useless. Do you understand /tools 
should also be a symbolic link to /mnt/data/tools in your case? What 
about "ls -l /mnt/data/tools"?

> root at fireball:/data#: export
> PATH="/tools/bin/:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/loc
> root at fireball:/data#: chroot "$LFS" /tools/bin/env -i     HOME=/root
> TERM="$TERM" PS1='\u:\w\$ '
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin     /tools/bin/bash
> --login +h chroot: error while loading shared libraries:
> /tools/lib/ file too short
Look through /tools/lib/ and give please the output of 
"cat /tools/lib/" if it's a text file, not binary.

BTW do _not_ use chroot since in the latter case you tried to 
execute /tools/bin/chroot instead of /usr/bin/chroot. Always 
run /usr/bin/chroot.

Nothing but perfection

More information about the lfs-support mailing list