Greetings!
I compiled pulseaudio and alsa-plugins from source (I need pulse for a project I'm working on).
This is the way I built the packages:
Code:
tar -xfv pulseaudio-2.0.tar.xz
cd pulseaudio-2.0
./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc
make -j5
make install DESTDIR=$(pwd)/pkg
cd pkg
makepkg -c n -l y $HOME/pulseaudio-2.0-x86_64-1ax.txz
So far so good.
Installing with upgradepkg --install-new $HOME/pulseaudio*.txz
Next is alsa plugins:
Code:
tar -xvf alsa-plugins-1.0.25.tar.bz2
cd alsa-plugins-1.0.25
./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc
make
make install DESTDIR=$(pwd)/pkg
cd pkg
makepkg -c n -l y $HOME/alsa-plugins-1.0.25-x86_64-1ax.txz
Installing with upgradepkg --install-new $HOME/alsa-plugins-*.txz
Running the pulse daemon as user (yes, I am in group audio)
Code:
pulseaudio --start #It starts without any warnings
Adding to $HOME/.asoundrc
Code:
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
and finally
aplay -Dpulse $HOME/test.wav
....
aplay -Dpulse test.wav
ALSA lib dlmisc.c:236
snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
aplay: main:660: audio open error: No such device or address
I'm clueless what to do now.
I added user/group pulse, I added user pulse to group audio, I tried running pulseaudio as a system daemon to no avail. Help!