You are not logged in.

#1 2010-04-14 01:25:47

Altay_H
Member
Registered: 2009-01-31
Posts: 40

[SOLVED] Missing libao.so.2 after update on 04/12/2010

I use pianobar frequently, and I discovered yesterday after running pacman -Syu that pianobar was no longer working:

$ pianobar
pianobar: error while loading shared libraries: libao.so.2: cannot open shared object file: No such file or directory
$ ldd /usr/bin/pianobar
        linux-gate.so.1 =>  (0xb7855000)
        libfaad.so.2 => /usr/lib/libfaad.so.2 (0xb77f5000)
        libao.so.2 => not found
        libpthread.so.0 => /lib/libpthread.so.0 (0xb77dc000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb77c5000)
        libm.so.6 => /lib/libm.so.6 (0xb779e000)
        libc.so.6 => /lib/libc.so.6 (0xb7657000)
        /lib/ld-linux.so.2 (0xb7856000)
$ ls /usr/lib/ | grep libao
libao.so
libao.so.4
libao.so.4.0.0
libaoss.a
libaoss.so
libaoss.so.0
libaoss.so.0.0.0

I'm assuming that libao has been upgraded from libao.so.2 to libao.so.4, which is what's causing pianobar to fail to start up. I came across a this website while looking for help, and I tried running ldconfig with the following result:

# ldconfig -v | grep libao
        libaoss.so.0 -> libaoss.so.0.0.0
        libao.so.4 -> libao.so.4.0.0

Why is libao.so.2 missing all of a sudden? How can I get it back? I appreciate any help. Thanks.

Last edited by Altay_H (2010-04-14 01:37:20)

Offline

#2 2010-04-14 01:30:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Missing libao.so.2 after update on 04/12/2010

Try rebuilding pianobar against the newest libao.

Offline

#3 2010-04-14 01:34:47

Altay_H
Member
Registered: 2009-01-31
Posts: 40

Re: [SOLVED] Missing libao.so.2 after update on 04/12/2010

I just rebuilt pianobar using yaourt and it fixed the problem:

$ yaourt pianobar
$ ldd /usr/bin/pianobar
        linux-gate.so.1 =>  (0xb776c000)
        libfaad.so.2 => /usr/lib/libfaad.so.2 (0xb770c000)
        libao.so.4 => /usr/lib/libao.so.4 (0xb7704000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb76eb000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb76d4000)
        libm.so.6 => /lib/libm.so.6 (0xb76ad000)
        libc.so.6 => /lib/libc.so.6 (0xb7566000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7562000)
        /lib/ld-linux.so.2 (0xb776d000)
$ pianobar
Welcome to pianobar!
(i) Login... Ok.
(i) Get stations... Ok.
(i) Receiving new playlist... Ok.
|>  "Everything Falls" by "Fee" on "Hope Rising"
#   -03:43/03:43

Sorry I posted. I hope I didn't bother anyone.

EDIT: Thanks for the help, skottish. smile

Last edited by Altay_H (2010-04-14 01:36:11)

Offline

#4 2010-04-14 02:02:21

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [SOLVED] Missing libao.so.2 after update on 04/12/2010

Welcome to Arch, where only the newest stable version of any given library will ever exist at a time...by design. wink

Offline

Board footer

Powered by FluxBB