> -----Original Message-----
> From: lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support-
> boun...@linuxfromscratch.org] On Behalf Of Bruce Dubbs
> Sent: Friday, August 24, 2012 12:34 PM
> To: LFS Support List
> Subject: Re: [lfs-support] Link to libbz2.so
> 
> Feuerbacher, Alan wrote:
> > Hi,
> >
> > In the LFS book, version SVN-20120824, section 6.19.Bzip2-1.0.6,
> there
> > is a line near the end:
> >
> > ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
> >
> > The problem I've experienced is that when bzip2 fires up after this
> > compilation step, it can't find the library libbz2.so.1.0 . When I
> > make another link like this:
> >
> > ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so.1.0
> >
> > everything works fine when bzip2 is executed, i.e., libbz2.so.1.0 is
> > found.
> 
> The file should be in /lib, not /usr/lib.  You may have to run ldconfig
> first.  The link should not be needed.
> 
> $ ldd /bin/bzip2
>          linux-gate.so.1 (0xffffe000)
>          libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb778b000)
>          libc.so.6 => /lib/libc.so.6 (0xb75da000)
>          /lib/ld-linux.so.2 (0xb77b4000)
> 
>    -- Bruce

Thanks. Does that mean that the entry showing /usr/lib/libbz2.so in the LFS 
book should really be /lib/libbz2.so ?

Alan

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to