Problem while changing into chroot

rajesh britto britto.gridlab at
Fri Mar 20 02:04:16 PDT 2009

     i am working on LFS  6.4 version guide and completed till chapter
5. while i was trying chroot in the chapter 6 i was struck up with
errors. which i could not proceed further. i have send mails to the
LFS support but my mails are rejected (which i do know the reason). i
think u can help me to sort of this error since i was struggling with
this for days.

[root at compute1 ~]# 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
/tools/bin/bash: error while loading shared libraries: cannot open shared object file: No such file or

        [root at compute1 ~]# ldd /tools/bin/bash =>  (0x005a4000) => /tools/lib/ (0x003a6000) => /tools/lib/ (0x006e2000) => /tools/lib/ (0x00110000)
        /tools/lib/ (0x00269000)

All the files are present in the library files of both the host
machine as well as the /tools folder.

Thank you,

More information about the lfs-support mailing list