[LFS Trac] #2691: Zlib 1.2.5 issues

LFS Trac trac at linuxfromscratch.org
Sun Jun 20 09:34:31 PDT 2010

#2691: Zlib 1.2.5 issues
 Reporter:  willimm  |       Owner:  lfs-book@…                   
     Type:  defect   |      Status:  new                          
 Priority:  normal   |   Milestone:  6.7                          
Component:  Book     |     Version:  SVN                          
 Severity:  normal   |    Keywords:                               

Comment(by bryan@…):

 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

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.

More information about the lfs-book mailing list