[lfs-support] Link to libbz2.so

Feuerbacher, Alan AFeuerbacher at ALLEGROMICRO.com
Fri Aug 24 12:50:11 PDT 2012


Bruce Dubbs wrote:

> Try:
> $ ldconfig -a

My ldconfig doesn't have a -a option.

> $ ldd /bin/bzip2

Here you go. Remember that the link in question was removed.

$ ldd /bin/bzip2
        linux-vdso.so.1 (0x00007fffa6cb6000)
        libbz2.so.1.0 => not found
        libc.so.6 => /usr/lib/libc.so.6 (0x00002ace46714000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00002ace464f1000)

Now if I put the link back:

ln -svf ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so.1.0
'/usr/lib/libbz2.so.1.0' -> '../../lib/libbz2.so.1.0'

and repeat I get this:

$ ldd /bin/bzip2
        linux-vdso.so.1 (0x00007fff455fd000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00002b55c2682000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00002b55c2892000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00002b55c245f000)

I'm still at a loss.

Alan



More information about the lfs-support mailing list