On 1/22/06, mrdaniel <[EMAIL PROTECTED]> wrote:
>
> but it passed the sanity check. the message was diaplayed after the readelf
> ... command as:
> [requesting program interpreter: /tools/lib/ld-linux.so.2]
>
2 points:
1. Please don't top-post. See how what you have written is above
what I have written? That's because I'm replying to something you
said. Thus, we can see what I'm referring to without scrolling to the
bottom of the message. Your mail client "User-Agent: SingNet WebMail"
wants you to reply above the other message. Don't do that. Delete
the parts of the old message that aren't relevant and start your reply
below.
2. Run the sanity check again from outside the chroot (i.e. as user lfs) :
echo 'main(){}' > dummy.c
cc dummy.c
readelf -l a.out | grep ': /tools'
If you do not get "/tools/lib/ld-linux.so.2]" then something has gone
wrong. Most likely problems are in 5.11 and 5.12. Possibly you did
not apply gcc-4.0.2-specs-1.patch or whatever gcc version you're using
in Ch. 5.11. Or, in 5.12, you make have gone too far and done
make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
make -C ld install
instead of just
make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
Either way, /tools/bin/gcc is not linking correctly to
/tools/lib/libc.so.6 and /toos/lib/ld-linux.so.2. You may not have to
start from the beginning of Ch. 5, but it would be the safest method.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page