Feuerbacher, Alan wrote:

>> /lib/libbz2.so.1.0 -> libbz2.so.1.0.6 /usr/lib/libbz2.so ->
>> ../../lib/libbz2.so.1.0
>
> Again, thanks for your comments. However, my system doesn't behave
> the way I would expect, in terms of what you've said. Here is what I
> have in /lib and /usr/lib :
>
> /lib/libbz2.so.1.0 -> libbz2.so.1.0.6 /lib/libbz2.so.1.0.6
>
> /usr/lib/libbz2.so -> ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so.1.0
> -> ../../lib/libbz2.so.1.0
>
> If I do something trivial with bzip2 it works fine:
>
> $ pwd /usr/lib $ bzip2 --version
 > bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.

> But if I remove the link /usr/lib/libbz2.so.1.0 it quits working:
>
> $ rm libbz2.so.1.0 $ bzip2 --version
 > bzip2: error while loading
> shared libraries: libbz2.so.1.0: cannot open shared object file: No
> such file or directory
>
> Any idea what's going on?

Please trim your posts to the minimum needed.

Try:
$ ldconfig -a
$ ldd /bin/bzip2

   -- Bruce
-- 
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