Bonjour Chris Staub

This was checked, answer was correct.
When I inserted zlib within the "Temporary System"
(I compiled zlib as it was to be included in temporary).
I was able to compile 'file' no trouble.

Are you able to compile 'file-5.19' on VN-20140815:5.20?


Quoting Chris Staub <[email protected]>:

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

--
A bientôt
===========================================================
Jean-Marc Pigeon                        E-Mail: [email protected]
SAFE Inc.                             Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
     Clement' Home base <"http://www.clement.safe.ca";>
===========================================================

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to