Problem while changing into chroot

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


hi
     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.

Error:
[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
+h
/tools/bin/bash: error while loading shared libraries:
libtermcap.so.2: cannot open shared object file: No such file or
directory

FYI,
        [root at compute1 ~]# ldd /tools/bin/bash
        linux-gate.so.1 =>  (0x005a4000)
        libtermcap.so.2 => /tools/lib/libtermcap.so.2 (0x003a6000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x006e2000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00110000)
        /tools/lib/ld-linux.so.2 (0x00269000)

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

Thank you,
R B



More information about the lfs-support mailing list