#2630: Zlib issues
--------------------------------+-------------------------------------------
 Reporter:  ch...@…             |       Owner:  lfs-b...@…                   
     Type:  task                |      Status:  new                          
 Priority:  normal              |   Milestone:  6.7                          
Component:  Book                |     Version:  SVN                          
 Severity:  normal              |    Keywords:                               
--------------------------------+-------------------------------------------

Comment(by br...@…):

 Chiming in here in support of keeping things the way they are.  :-)

 As Bruce said, we need libz in /lib because of possibly tar, and
 definitely because of module-init-tools (unless they pull the static
 version, but then you run into problems with security updates).  Also,
 auditing binaries in /bin and /sbin on my machine, the cramfs utilities
 from util-linux-ng link against zlib.

 However...

 > I don't think we need to worry about libz.so.1. Thee are no other major
 versions of the library so it is highly unlikely that anyone links a
 program against that specific version.

 No, nobody will do a "-l /lib/libz.so.1" in a compilation.  However, every
 single binary that gets linked against libz.so, will include a reference
 to libz.so.1 (in the DT_NEEDED section).  So we definitely need that
 symlink in a directory such that ld-linux.so.2 can find it, when those
 programs are started.

 Whether that directory is /lib or /usr/lib depends on when those programs
 run, obviously.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2630#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

Reply via email to