hello,
       i bulid the file-5.10 in LFS-BOOK-7.1 5.20. when i "make", the error
messages is :

*/mnt/lfs/sources/file-5.10/src/.libs/lt-file: error while loading shared
libraries: libz.so.1: cannot open shared object file: No such file or
directory*
*make[2]: *** [magic.mgc] Error 127*
*make[2]: Leaving directory `/mnt/lfs/sources/file-5.10/magic'*
*make[1]: *** [all-recursive] Error 1*

     i have check the toolchain in 5.8.by
*echo 'main(){}' > dummy.c*
*$LFS_TGT-gcc -B/tools/lib dummy.c*
*readelf -l a.out | grep ': /tools'*

     and the output is right. i'm confused.

     do i need the host's libz.so ?

     tell 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