LFS 6.9 Glibc-2.3.6
hscast at charter.net
Fri Aug 18 17:44:38 PDT 2006
On Fri, 2006-08-18 at 17:24 -0700, Dan Nicholson wrote:
> On 8/18/06, Scott Castaline <hscast at charter.net> wrote:
> > On Fri, 2006-08-18 at 15:37 -0700, Dan Nicholson wrote:
> > >
> > > $ readelf -l /tools/bin/gcc | grep interpreter
> > >
> > > If the output says /lib/ld-linux.so.2, then you're in trouble because
> > > that dynamic linker doesn't exist yet inside the chroot. It should be
> > > /tools/ld-linux.so.2. What do you get?
> > It does indicate /lib/ld-linux.so.2...
> > Is there a quick fix that I can do or do I need to start all over again.
> > I do remember having trouble with making the symbolic link, but
> > eventually I thought I got it to work.
> Not really a quick fix. That location is hard-coded into the binaries,
> so it they have to be rebuilt or they won't work inside the chroot.
> The cleanest way would be to start over. But, you can save yourself a
> little time (don't have to wait through a gcc bootstrap again).
> Leave the chroot. Go back to Ch. 5.7 in the book, Adjusting the
> Toolchain. Redo the part about creating the GCC specfile very
> carefully. Then go to the bottom of the page and do the sanity check.
> Don't move on if it doesn't pass.
> Then you have to redo the rest of Ch. 5 because all of these binaries
> may need to be rebuilt to know about the new dynamic linker you want
> to use.
> Good luck.
I'm not sure but I think I found it in
On viewing it I found this:
This is just before a section called *Link_command: towards the end. As
I'm using the LiveCD 6.2, I have to reboot from CD to get back or boot
from hard drive to get here so, I anxiously wait for an answer.
Scott Castaline aka Bad2theBone
Hey! I was born crazy, what's your excuse?
More information about the lfs-support