>> Hi all,
>>
>> This is my first post to this mailing list. I am working my way through
LFS
>> 6.8, and at the end of '5.10. GCC-4.5.2 - Pass 2' I have compiled dummy.c
to
>> a.out. I have not deliberately deviated from the book in any way (except
>> using MAKEFLAGS = '-j 2'). Unfortunately running readelf on the compiled
>> 'a.out' gives me:
>>
>> readelf -l a.out | grep 'Req'
>>       [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
>>
>> Which is not correct (as I understand it the interpreter should be in
>> /tools/lib/...). Therefore I have made a mistake somewhere, but I do not
>> know enough to know how far back this may be, so I was wondering if
anyone
>> here could give me clue so I don't have to start again from the beginning
(I
>> have already repeated section 5.10 from scratch, but this has not
resolved
>> the issue)?
>
> It looks like you either didn't set up the environment properly to
> start with or perhaps you closed the shell at some point and when you
> opened a new one you didn't set up your ${PATH} and everything correctly.
> You're still only in chapter 5 so starting again is not a big deal.
> I suggest you take off and nuke the site from orbit.
> It's the only way to be sure.
>
> Andy

Thanks for the response. I had been doing the install in stages, so I was
logging in and out of the lfs shell at various points, so I guess I slipped
up one of those times. Going back to the start of Chapter 4 and rebuilding
from there worked (again in stages, but larger stages and much more
carefully) - so I am now at the end of Chapter 5 without any obvious errors.

If it is of any use to anyone I reverted to the beginning of Chapter 4 by:
- Deleting $LFS/tools. (rm -fr)
- Deleting user 'lfs'. (userdel -r) the '-r' to remove the home directory as
well
- Deleting group 'lfs'. (groupdel)

Also, your second time through Chapter 4 and 5 is much faster and easier
than your first, so this is not as much of an inconvenience,

Steve
-- 
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