Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@user1686 The one thing that's bothering me is that $LFS/lib folder is empty but there are symlinks from ld-linux-x86-64.so.2 in $LFS/lib64 to ../lib/ld-linux-x86-64.so.2 . Am i correct to assume this is where i am wrong? root@necro-server:/mnt/lfs# ls lib comes up empty
@user1686 for chroot $LFS /lib64/ld-linux-x86-64.so.2 --help i get chroot: failed to run command ‘/lib64/ld-linux-x86-64.so.2’: No such file or directory but $LFS/usr/bin/env exists and file $LFS/usr/bin/env gives /mnt/lfs/usr/bin/env: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped. I have added these sanity checks in the questions.