Bash Symlink Problem
DiGrazia, Mick A
mick.digrazia at uconn.edu
Thu Oct 12 11:48:02 PDT 2006
The symlink from /bin/bash -> /tools/bin/bash was the problem. I
corrected it and it works fine.
> -----Original Message-----
> From: lfs-support-bounces at linuxfromscratch.org
> [mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf
> Of Dan Nicholson
> Sent: Thursday, October 12, 2006 2:39 PM
> To: LFS Support List
> Subject: Re: Bash Symlink Problem
> On 10/12/06, DiGrazia, Mick A <mick.digrazia at uconn.edu> wrote:
> > I have installed lfs up to section 6.8 and I am now running into a
> > problem installing man pages and Glibc. When I run 'make install'
> > command I receive the following error
> > make: /bin/sh: Command not found
> > make: *** [install] Error 127
> > I've re-created the symlink for /bin/sh to bash. When I run sh
> > manually I do not receive an error.
> Do you have the symlink from /bin/bash -> /tools/bin/bash?
> If not, your toolchain is not adjusted properly and
> /tools/bin/bash is hardcoded to use the dynamic linker at
> /lib/ld-linux.so.2. Since your in the chroot,
> /lib/ld-linux.so.2 doesn't exist. This should be
> >From outside the chroot, try this command:
> $ readelf -l /tools/bin/bash | grep interpreter
> It should return /tools/lib/ld-linux.so.2 if everything has
> been done correctly.
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
More information about the lfs-support