[lfs-support] 5.20 File-5.10 libz.so.1: cannot open shared object file: No such file or directory

lx lxlenovostar at gmail.com
Fri Aug 17 23:22:28 PDT 2012


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


More information about the lfs-support mailing list