Problem while changing into chroot

Chris Staub chris at
Fri Mar 20 10:16:22 PDT 2009

rajesh britto wrote:
> /tools/bin/bash: error while loading shared libraries:
> cannot open shared object file: No such file or
> directory
> FYI,
>         [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,
> R B

You must have deviated somehow from LFS instructions. libtermcap isn't 
installed on LFS, either in Chapter 5 or Chapter 6, and Bash should not 
be looking for it. What do you see when you do "ls /tools/lib/*curses*"?

More information about the lfs-support mailing list