On 08/22/14 20:07, Jean-Marc Pigeon wrote:
Hello,
Follow up on my last week email.
Found why I was getting:
error while loading shared libraries: libz.so.1: cannot open shared
object file
while compiling 'file' (LFS ersion 7.5 5.20 file-5.17 )
Problem was not a step missed within LFS, problem was caused by the fact
HOST had zlib-devel package installed.
configure --prefix=/tool
is checking outside of /tools to detect if zlib is installed.
Didn't find a way within configure to specify 'look only within /tools
dir'.
My solution was to remove the zlib-package altogether from the host
itself...
Hope this will help someone else.
If the book's instructions were followed correctly, the toolchain in
/tools won't look on the host at all. Therefore, there is no need to
remove any package from the host for this kind of problem. What you need
to do is double-check the commands you used to verify you have followed
the book's instructions. For example, exactly what in configure
output/config.log tells you that it is looking outside of /tools?
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page