Bonjour Chris,

Quoting Chris Staub <[email protected]>:

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

Many Thanks, for the comments, I figure that too later on,
everything was fine until 5.33. Util-linux-2.24.1.
not able to link (librt.so`__pthread_get_minstack@GLIBC_PRIVATE')
I follow the book at my best, but:
- Working within  VPS (openvz)
- x86_64
- doing all the jobs via RPM (binutils.spec, gcc.spec
and so on) within a Makefile.

I need to figure out where the toolchaine is still
looking at host itself.
Still my first comment about libz was in book plain
setup, so something is escaping me about setup.

Redoing the installation step by step with a
careful look at all config.log.
--
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