On Mon, Jun 16, 2014 at 03:07:33PM +0200, Marcos Menendez wrote:
> Hello,
> 
> I had the following failure when running the make check for kmod-16:
> 
> 
> root:/sources/kmod-16# cat test-suite.log  
> ===============================
>    kmod 16: ./test-suite.log
> ===============================
> 
> # TOTAL: 10
> # PASS:  9
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: testsuite/test-modprobe
> =============================
> 
> sh: error while loading shared libraries: libz.so.1: cannot open shared 
> object file: No such file or directory

> I searched for libz.so.1 and it exists on the chroot system:
> 
> root:/sources/kmod-16# find / -name libz.so.1
> /lib/libz.so.1
> 
> 

 Please take a look at the zlib instructions (section 6.11).  At the
end of those, we move the shared library to /lib and recreate
/usr/lib/libz.so : I guess that either you missed the last command
there: ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so
or else something went wrong and the symlink is broken.  It should
point to ../../lib/libz.so.1.2.8

 A possible side-effect from this is that anything trying to link to
libz might have included the static library, libz.a.  I'm not sure
which, if any, packages would be affected by that.

ĸen
-- 
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to