[LFS Trac] #2691: Zlib 1.2.5 issues

LFS Trac trac at linuxfromscratch.org
Mon Jun 21 22:15:14 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:12 gespinasse]:
 > shared zlib is linked to Zlib.so but ldd complain about version
 ZLIB_1.2.3.3 not found.

 Wrong libz.so.1 file:

 >
 /mnt/build_dir/usr/lib/perl5/5.12.1/i686-linux/auto/Compress/Raw/Zlib/Zlib.so:
 /usr/lib/libz.so.1:

 The perl lib is in /mnt/build_dir/usr/lib, but the libz that ldd found is
 in /usr/lib.  This is wrong; the dynamic linker is pulling in host libs
 when trying to load a binary in the new partition.  Either the compile-
 time linker is wrong (did readjusting the toolchain fail somehow?), or
 perl is being dumb, or this will only ever work inside chroot.

 Is this chapter 6 perl, or chapter 5?  If 6, then this can never work as
 you did it; you *must* be inside the chroot.  If 5, it should be looking
 for /tools/lib/libz.so.1 instead.

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



More information about the lfs-book mailing list