Skip to main content
Abhinav Gupta's user avatar
Abhinav Gupta's user avatar
Abhinav Gupta's user avatar
Abhinav Gupta
  • Member for 3 years, 5 months
  • Last seen more than 1 year ago
awarded
Loading…
Loading…
Loading…
comment
LFS 11.2 on Ubuntu Server 22.04: chroot: failed to run command ‘/usr/bin/env’: No such file or directory
@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
Loading…
comment
LFS 11.2 on Ubuntu Server 22.04: chroot: failed to run command ‘/usr/bin/env’: No such file or directory
@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.
awarded
Loading…
Loading…
answered
Loading…
awarded
asked
Loading…