#2691: Zlib 1.2.5 issues
---------------------+------------------------------------------------------
Reporter: willimm | Owner: lfs-b...@…
Type: defect | Status: new
Priority: normal | Milestone: 6.7
Component: Book | Version: SVN
Severity: normal | Keywords:
---------------------+------------------------------------------------------
Comment(by gespinasse):
there is no problem to fix the static lib compilation once you know what
you want is made at perl stage. But if you add -fPIC before fixing perl
issue, you would not know the problem unless you use ldd against Zlib.so.
To my knowledge, there is only 2 packages that use libz.a. That's binutils
and module-init-tools durings tests. For module-init-tools test, with one
sed it is possible to change m-i-t to test the dynamic version that we use
at the place of the static version that we try not to use..
This is what I made at module-init-tools stage not to use the static
version.
{{{
# that version use originally both --enable-zlib and --disable-
zlib
# prefer to use our shared libz.so for testing
cd $(DIR_APP) && sed -i 's|--enable-zlib |--enable-zlib-dynamic |'
tests/runtests
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2691#comment:6>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page