[LFS Trac] #2691: Zlib 1.2.5 issues

LFS Trac trac at linuxfromscratch.org
Sat Jun 19 14:36:47 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 bdubbs@…):

 On my development system, I haven't run into a zlib problem, but my use of
 it has been very limited so far.  The following seems to build without
 problem:

 {{{
 CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr
 make
 make check
 make install
 mv -v /usr/lib/libz.so.* /lib
 ln -sfv ../../lib/libz.so.1.2.5 /usr/lib/libz.so
 }}}

 The only change to the book then is to add the CFLAGS='-mstackrealign
 -fPIC -O3' prefix.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2691#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list