Re: [lfs-support] LFS Page 5.19 - File 5.04 Complie Issues
William Immendorf will.immendorf at gmail.com writes: On Fri, Jan 28, 2011 at 1:27 AM, Casey Daniels - lfs lfs at cd.kcfam.net wrote: /media/lfs/sources/file-5.04/src/.libs/lt-file: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory Is there something wrong with your toolchain? Zlib is not built in the toolchain, so why is (presumbly) configure detecting it? Can I see your config.log so I can see what is causing it to use the host libs? I encountered the same issue as described in this thread. I was wondering what the resolution was. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] LFS Page 5.19 - File 5.04 Complie Issues
Robert Renfro wrote: William Immendorf will.immendorf at gmail.com writes: On Fri, Jan 28, 2011 at 1:27 AM, Casey Daniels - lfs lfs at cd.kcfam.net wrote: /media/lfs/sources/file-5.04/src/.libs/lt-file: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory Is there something wrong with your toolchain? Zlib is not built in the toolchain, so why is (presumbly) configure detecting it? Can I see your config.log so I can see what is causing it to use the host libs? I encountered the same issue as described in this thread. I was wondering what the resolution was. 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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] LFS Page 5.19 - File 5.04 Complie Issues
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. Thanks R.S. Renfro -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] LFS Page 5.19 - File 5.04 Complie Issues
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
Re: LFS Page 5.19 - File 5.04 Complie Issues
On Fri, Jan 28, 2011 at 1:27 AM, Casey Daniels - lfs l...@cd.kcfam.net wrote: /media/lfs/sources/file-5.04/src/.libs/lt-file: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory Is there something wrong with your toolchain? Zlib is not built in the toolchain, so why is (presumbly) configure detecting it? Can I see your config.log so I can see what is causing it to use the host libs? -- William Immendorf The ultimate in free computing. Messages in plain text, please, no HTML. GPG key ID: 1697BE98 If it's not signed, it's not from me. -- Every nonfree program has a lord, a master -- and if you use the program, he is your master. Richard Stallman -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
LFS Page 5.19 - File 5.04 Complie Issues
Hello, This is my first LFS build, things have been going great until I made it to the 5.19 page to compile File 5.04 the make gives me this out put (just the last few lines are shown to save space) make[2]: Leaving directory `/media/lfs/sources/file-5.04/src' Making all in magic make[2]: Entering directory `/media/lfs/sources/file-5.04/magic' ../src/file -C -m magic /media/lfs/sources/file-5.04/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 `/media/lfs/sources/file-5.04/magic' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/lfs/sources/file-5.04' make: *** [all] Error 2 I can't seem to figure it out what has gone wrong, I've tried searching the Web and didn't find any returns that were specific to File. Any Help would be wonderful Casey-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page