[lfs-support] the result of " ldd libz.so.1 " is right ?

lx lxlenovostar at gmail.com
Sat Sep 15 20:41:48 PDT 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120916/2b3dc880/attachment.html>


More information about the lfs-support mailing list