Roberto Nibali wrote:
I've worked through the LFS-dev book (SVN-20050702) and I am stuck with the
following problem:
# 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: cannot run command `/tools/bin/env': No such file or directory
# ls -al /tools/bin/env
-rwxr-xr-x 1 ratz users 13128 2005-06-28 09:17 /tools/bin/env
# ldd /tools/bin/env
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /tools/lib/libc.so.6 (0x40019000)
/tools/lib/ld-linux.so.2 (0x40000000)
<tipical strace cutted>
It looks like either this linux-gate.so.1 is the culprit. Has anyone seen this
before? I should note, that I need to install LFS next to an existing OS, not on
a fresh partition. Actually I only need a gcc, binutils and glibc combo for my
own package development.
I see this before, but already forgot how I overcome it.
Ensure that dynamic loader is visible as /tools/lib/ld-linux.so.2 from
chroot (this message is produced when dynamic loader cannot be found).
--
Best regards,
John 'Profic' Ustiuzhanin <[EMAIL PROTECTED]>
Smart Media Group, MK-Kursk, Kursk, Russia
Using
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
ALT Linux Master 2.0 (server.smg 2.4.20-alt0.1-adv-up)
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page