Andrei A. Voropaev
av at simcon-mt.com
Tue Dec 28 04:31:03 PST 2004
On Tue, Dec 28, 2004 at 01:27:41PM +0100, Gisle Askestad wrote:
> Hi Guy's
> I have run into a problem during installation of lfs
> according to the LFS-BOOK 6.0.
> When attemting to enter the Chroot Environment (book chap 6.3)
> the following happends:
> [root at fe lfs]# 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
> [root at fe lfs]#
> Any ideas what might be wrong?
Did you check if you have /tools/lib/libtermcap.so.2 file? If yes, then
try to run ldd /tools/bin/bash and see to which libraries it is linked.
Maybe you've forgotten to adjust the binutils and gcc after installing
glibc in /tools directory.
More information about the lfs-support