Hello,

I remember to have done that step clearly but I have a look at it again:

root:/sources/kmod-16# ls -la /lib/libz.so.1
lrwxrwxrwx 1 root root 13 Jun  2 15:21 /lib/libz.so.1 -> libz.so.1.2.8

I see there that libz.so.1 points to libz.so.1.2.8

But as I see we are talking about libz.so.1, the one that is not found, and not 
about libz.so


Regarding libz.so, I run again the following to be sure:

root:/sources/kmod-16# ln -sfv ../../lib/$(readlink /usr/lib/libz.so) 
/usr/lib/libz.so
'/usr/lib/libz.so' -> '../../lib/../../lib/libz.so.1.2.8'

I check it:

root:/sources/kmod-16# ls -la /usr/lib/libz.so
lrwxrwxrwx 1 root root 33 Jun 17 10:51 /usr/lib/libz.so -> 
../../lib/../../lib/libz.so.1.2.8


Here I see that it doesn't point to ../../lib/libz.so.1.2.8 as you mentioned 
before but instead it points to ../../lib/../../lib/libz.so.1.2.8 which doesn't 
look right to me...


I'm confused right now...



Regards,

Marcos




> Sent: Monday, June 16, 2014 at 5:28 PM
> From: "Ken Moffat" <[email protected]>
> To: "LFS Support List" <[email protected]>
> Subject: Re: [lfs-support] Step 6.52 Kmod-16 LFS 7.5 stable --> make check 
> failed for test-modprobe
>
> 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
>
-- 
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