On 08/17/14 19:30, Jean-Marc Pigeon wrote:
Bonjour,
Got trouble compile file-5.19. Complaining about zlib during make.
make[2]: Entering directory `/mnt/lfs/build/file-5.19/magic'
../src/file -C -m magic
/mnt/lfs/build/file-5.19/src/.libs/lt-file: error while loading shared
libraries: libz.so.1: cannot open shared object file: No such file or
directory.
Solution is to include zlib as part of
"Constructing a Temporary System"
and installing before the "file-5.19" component.
No, that is not a solution. You'll need to check your toolchain. Do
these commands:
echo 'main(){}' > dummy.c
cc dummy.c
readelf -l a.out | grep interpret
What is the output of the last command?
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page