#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: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.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page