> It does seem to work, but there's no chroot there either. Try another > variant on the above: > > chroot $LFS /tools/lib/ld-linux.so.2
# chroot $LFS /tools/lib/ld-linux.so.2 chroot: cannot run command `/tools/lib/ld-linux.so.2': No such file or directory # ls -ald /tools/lib/ld-* -rwxr-xr-x 1 ratz users 106532 Jun 28 09:17 /tools/lib/ld-2.3.5.so lrwxrwxrwx 1 ratz users 11 Jun 21 15:01 /tools/lib/ld-linux.so.2 -> ld-2.3.5.so And even LD_DEBUG=all shows no problems. But hey ... this actually lead me to following enlightment: The 'tools -> /' link is missing in my chroot environment. Since my /tools is not on a partition but on a populated filesystem in the /var/tmp/LFS directory it's pretty obvious that I do need a symbolic link from /tools to / to make it work. And indeed: ff:/var/tmp/LFS # ln -sf / tools ff:/var/tmp/LFS # ls -ald * drwxrwxr-x 2 ratz users 4096 2005-06-28 09:17 bin drwxr-xr-x 6 root root 20480 2004-10-08 15:42 dev drwxrwxr-x 2 ratz users 4096 2005-07-05 13:17 etc drwxrwxr-x 4 ratz users 4096 2005-06-21 13:43 i686-pc-linux-gnu drwxrwxr-x 24 ratz users 4096 2005-06-28 09:01 include drwxrwxr-x 9 ratz users 4096 2005-06-28 09:17 lib drwxrwxr-x 4 ratz users 4096 2005-06-28 09:04 libexec dr-xr-xr-x 172 root root 0 2005-06-10 13:24 proc drwxrwxr-x 2 ratz users 4096 2005-06-28 09:17 sbin drwxrwxr-x 15 ratz users 4096 2005-06-28 08:55 share drwxrwxr-x 2 root root 4096 2005-06-28 09:24 sys lrwxrwxrwx 1 root root 1 2005-07-11 14:35 tools -> / drwxrwxr-x 2 ratz users 4096 2005-06-28 08:40 var ff:/var/tmp/LFS # chroot . ff:/ # ls -ald * drwxrwxr-x 2 120 100 4096 2005-06-28 07:17 bin drwxr-xr-x 6 0 0 20480 2004-10-08 13:42 dev drwxrwxr-x 2 120 100 4096 2005-07-05 11:17 etc drwxrwxr-x 4 120 100 4096 2005-06-21 11:43 i686-pc-linux-gnu drwxrwxr-x 24 120 100 4096 2005-06-28 07:01 include drwxrwxr-x 9 120 100 4096 2005-06-28 07:17 lib drwxrwxr-x 4 120 100 4096 2005-06-28 07:04 libexec dr-xr-xr-x 172 0 0 0 2005-06-10 11:24 proc drwxrwxr-x 2 120 100 4096 2005-06-28 07:17 sbin drwxrwxr-x 15 120 100 4096 2005-06-28 06:55 share drwxrwxr-x 2 0 0 4096 2005-06-28 07:24 sys lrwxrwxrwx 1 0 0 1 2005-07-11 12:35 tools -> / drwxrwxr-x 2 120 100 4096 2005-06-28 06:40 var ff:/ # gcc -v Reading specs from /bin/../lib/gcc/i686-pc-linux-gnu/3.4.4/specs Configured with: ../gcc-3.4.4/configure --prefix=/tools --libexecdir=/tools/lib--with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch Thread model: posix gcc version 3.4.4 So it seems to work. I feel kind of stupid now and I'd like to apologise to the list for the noise generated by this report. > (This may be the wrong list now, though. Perhaps -support, since 6.1 is > released? Unfortunately I don't really follow -support...) Ok, I'll refrain from posting more stuff regarding this problem. Thanks for you help. Roberto Nibali, ratz -- ------------------------------------------------------------- addr://Rathausgasse 31, CH-5001 Aarau tel://++41 62 823 9355 http://www.terreactive.com fax://++41 62 823 9356 ------------------------------------------------------------- terreActive AG Wir sichern Ihren Erfolg ------------------------------------------------------------- -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page