Problem while changing into chroot

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


rajesh britto wrote:
> /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

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