You are not logged in.
Sorry if this isn't quite the right spot for this, but after several re-installs of PyAO, I consistantly get the same error when importing 'ao' in Python (be it interactive or as part of a script):
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libalsa.so => dlopen() failed
Does anyone besides the *one* other person on the AUR and myself get this issue? An LDD on the file in question shows:
[iv597@iv597-Desktop src]$ ldd /usr/lib/ao/plugins-4/libalsa.so
linux-vdso.so.1 => (0x00007fff749ff000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f67d2cd6000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f67d2ab9000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f67d28b4000)
libc.so.6 => /lib/libc.so.6 (0x00007f67d2511000)
libm.so.6 => /lib/libm.so.6 (0x00007f67d221d000)
librt.so.1 => /lib/librt.so.1 (0x00007f67d2014000)
/lib/ld-linux-x86-64.so.2 (0x00007f67d31e3000)
Which seems fine to me, at least. Anybody? Haven't had this issue on Gentoo, the only other distro I ever use, so I have no idea what causes it or where it came from.
Relevant packages I have installed:
linux 3.2.1-1
alsa-lib 1.0.24.1-1
alsa-oss 1.0.17-2
alsa-plugins 1.0.24-3
alsa-tools 1.0.24.1-1
alsa-utils 1.0.24.2-3
lib32-alsa-lib 1.0.24.1-1
lib32-alsa-oss 1.0.17-3
lib32-alsa-plugins 1.0.24-1
pyao 0.82-5
libao 1.1.0-1
Currently running Arch on a Samsung Chromebook Pro (dual booted with ChromeOS), and various VPSes and Docker containers.
Offline
[karol@black ~]$ python2
Python 2.7.2 (default, Nov 21 2011, 17:24:32)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ao
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libpulse.so => dlopen() failed
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libalsa.so => dlopen() failed
>>>
Seems you're not alone.
Offline
For the libpulse.so part, install libpulse. Not that it makes much of a difference with Alsa standalone, heh
Currently running Arch on a Samsung Chromebook Pro (dual booted with ChromeOS), and various VPSes and Docker containers.
Offline
I have both files installed and /usr/lib/ao/plugins-4/libpulse.so belongs to libao so it didn't occur to me that I needed some other package.
Installing libpulse worked, now I've got only the other error ;-P
Offline
Nobody else having this issue?
Currently running Arch on a Samsung Chromebook Pro (dual booted with ChromeOS), and various VPSes and Docker containers.
Offline
Did anyone solve this issue? Same problem here libao-svn from AUR didn't work either. I have no clue...
Offline
I solved the problem by downgrading the file '/usr/lib/ao/plugins-4/libalsa.so' with an older version from November 2010 which I found on an old backup.
Offline