Hello all,

I'm writing only after checking the FAQS and IRC sections on
linuxfromscratch.org.

To that end,  I've ran into (and fixed?) an apparent missed dependency of
Tcl-8.6.10.

The issue was tclsh was segfaulting after make (close attention was given
to the LFS v. 9.1 book). I had found that it wasn't finding Zlib. To my
understanding, Tcl must be linked against the shared libraries in the
"temporary system" (/tools), hence the "--prefix=/tools" passed to
configure. However configure was not finding Zlib / Zlib headers in the
temp system, therefore no Zlib linking happened, which caused segfault
during dlopen in glibc.

My fix was to install Zlib (1.2.11) in the "temporary system" and tell
configure to use gcc that was compiled for the temp system, allowing
configure to properly search and find Zlib / Zlib headers in the temp
system.

Does anyone know if this is a solid approach? Or was my understanding
correct? The book did not specify Zlib in the temporary system during
chapter 5.

Any help appreciated,

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to