#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 br...@…):
Replying to [comment:7 willimm]:
> Just keep in mind that packages outside of LFS/BLFS sometimes link
aganst the static version of Zlib.
That's a bug in those packages, in my mind.
*NOTHING* should ever link against a static zlib IMO. Otherwise you have
a rehash of the problems back in ... what was it, 2002 or so I think? ...
when zlib had a buffer overflow fixed, and everything on the planet needed
to be relinked.
Not using the shared lib is a Bad Idea; I'd probably support removing
libz.a from the system completely after zlib is installed. Certainly
binutils shouldn't be using it, but putting the .so.x.y.z file and .so.x
link into /lib (and the .so link in /usr/lib) will allow both it and
module-init-tools (if needed) to dynamically link libz and continue to
work.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2691#comment:8>
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