I have compiled and installed glibc, ncurses, bash in /mnt/lfs.
I have installed in this way:
Code:
./configure --prefix=/mnt/lfs/usr
make
make install
Now when I try to chroot /mnt/lfs /usr/bin/bash --login, I get error:
Code:
chroot: failed to run command ‘/usr/bin/bash’: No such file or directory
Why am I getting this error?
Running ldd command has the following output:
Code:
ldd /mnt/lfs/usr/bin/bash
linux-vdso.so.1 (0x00007fffc70ab000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007fb0e6689000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb0e6683000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb0e64ae000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb0e6818000)