hello:
       i encounter a problem. so i check " ldd libz.so.1 " in */lib*, and
the result is:

*linux-gate.so.1 =>  (0x00460000)*
* **libc.so.6 => /lib/libc.so.6 (0x008bb000)*
* **/lib/ld-linux.so.2 (0x00825000)*

the result is right or not ?

and i have adjusted the Toolchain by :

*SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs*
*$LFS_TGT-gcc -dumpspecs | sed \*
*-e 's@/lib\(64\)\?/ld@/tools&@g' \*
*-e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS*
*echo "New specs file is: $SPECS"*
*unset SPECS*

and ensure it by:
*echo 'main(){}' > dummy.c*
*$LFS_TGT-gcc -B/tools/lib dummy.c*
*readelf -l a.out | grep ': /tools'*

the result is:
 *[Requesting program interpreter: /tools/lib/ld-linux.so.2]*

so i'm confused, i still in chapter 5. please give me some advices.
thank you.
-- 
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