Robert Renfro wrote: >> Bruce Dubbs <bruce.dubbs <at> gmail.com> writes: >> >> File can use zlib, but what you should have from ./configure in Chapter >> 5 is: >> >> checking zlib.h usability... no >> checking zlib.h presence... no >> checking for zlib.h... no >> ... >> checking for gzopen in -lz... no >> >> It looks like you didn't set up your environment correctly. >> >> Later in Chapter 6, we do install zlib before file. >> >> -- Bruce > > I have followed the book to the "T" and got to 5.20 and had this issue with > file-5.09. > > I got these: > checking zlib.h usability... no > checking zlib.h presence... no > checking for zlib.h... no > checking for gzopen in -lz... yes > > Can you please point me in the right direction to rectify this issue? > I assume that the gzopen is the issue I am just unsure how to prevent it from > using the gzopen.
What it is doing is finding libz.so in the host's /usr/lib. Look at Section 5.8, Adjusting the Toolchain. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
