On 7/23/05, Stephen Liu <[EMAIL PROTECTED]> wrote:
> Hi Chris,
> 
> > > # ldd /tools/bin/bash
> > >         linux-gate.so.1 =>  (0x00d20000)
> > >         libtermcap.so.2 => /lib/libtermcap.so.2
> > > (0x00ac4000)
> > >         libdl.so.2 => /lib/libdl.so.2 (0x009d3000)
> > >         libc.so.6 => /lib/tls/libc.so.6
> > (0x00882000)
> > >         /lib/ld-linux.so.2 (0x00868000)
> >
> > I assume you were logged on as the lfs user when you
> > did this...? If so,
> > that's not good - nothing in /tools should be
> > pointing to anything in /lib.
> 
> Following steps were performed after starting the PC
> 

<sigh>

Stephen,

  When you built the gcc compiler in Chapter 5, there was a step that
changed the compiler so applications built after gcc would use the
/tools directory. This step has not worked in your case, since the
bash executable is quite clearly using the host libraries (which are
not available in the chroot step).

  You need to (as Chris pointed out), start from Chapter 5 again, and
try and see where you went wrong. Points to check include the
"adjusting the linker" step, and the "setup LFS user environment"
step.

-- -
Steve Crosby
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to