[lfs-support] hello i have a question about lfs.

Bruce Dubbs bruce.dubbs at gmail.com
Sat Aug 25 07:47:31 PDT 2012


This is an lfs-support question.
   -- Bruce

lx wrote:
> hello,
>         i'm installing the lfs.
>         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.
>
>       i know you have the same question by
> http://linuxfromscratch.org/pipermail/lfs-support/2012-January/041846.html.
> so can you tell me how to solve it.
>
> thank you.
>





More information about the lfs-support mailing list