laurent wrote:
Chris Staub wrote:
laurent wrote:
ok, in this script i test at the end if mount was linked with the good interpreter...


------------------------------------------------------------------------

echo "Test"
cd $installdir
readelf -l /mnt/lfs/tools/bin/mount | grep interpreter > test
grep -c 'Requesting program interpreter: /tools/lib/ld-linux.so.2' test
if [ $? != 0 ]
then
    echo "Test échoué!"
    rm -rfv test
    exit
fi
echo "Test ok!"
rm -rfv test
exit


Well, everything seems to look good there, but the fact is that you have pasted output indicating that mount *is* linked against libraries in /lib, so there is clearly something wrong. What happens when you try this...

echo 'main(){}' > dummy.c
cc dummy.c
readelf -l a.out | grep interp
It gives me that :

     [Requesting program interpreter: /lib/ld-linux.so.2]
  01     .interp
02 .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame Oups! Something goes wrong. But in "adjusting the toochain" in chapter 5 everythings goes good...
I don't understand..
I would try to reinstall chapter 5, and would make the critical test (like "adjusting the toochain") by hand without bash scripts. Please, tell me that it will be not necessary!
ARRRRRRRGGGGGGGHHHHHHHH!

Yes, it is necessary. You must rm -rf /tools/* and start over.
--
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