LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-08-2012, 07:45 AM   #1
Refractor
Member
 
Registered: Oct 2008
Location: Rousse, Bulgaria
Distribution: Debian
Posts: 91

Rep: Reputation: 25
Question PulseAudio 2.0 and Slackware64 13.37


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:236snd1_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!
 
Old 08-08-2012, 08:07 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
The error message seems pretty straightforward; aplay cannot locate a library file:

Quote:
Originally Posted by Refractor View Post
ALSA lib dlmisc.c:236snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
What does locate libasound_module_pcm_pulse.so tell you? (You may have to run locate -u first to update the slocate database.)
 
Old 08-08-2012, 09:03 AM   #3
Refractor
Member
 
Registered: Oct 2008
Location: Rousse, Bulgaria
Distribution: Debian
Posts: 91

Original Poster
Rep: Reputation: 25
Actually aplay cannot find a device or address.
The library is there:
Code:
axtroz@Slack64:/etc/pulse$ cat /var/log/packages/alsa-plugins-1.0.25-x86_64-1ax 
PACKAGE NAME:     alsa-plugins-1.0.25-x86_64-1ax
COMPRESSED PACKAGE SIZE:     116K
UNCOMPRESSED PACKAGE SIZE:     500K
PACKAGE LOCATION: /home/axtroz/alsa-plugins-1.0.25-x86_64-1ax.txz
PACKAGE DESCRIPTION:
FILE LIST:
./
usr/
usr/lib64/
usr/lib64/alsa-lib/
usr/lib64/alsa-lib/libasound_module_pcm_vdownmix.la
usr/lib64/alsa-lib/libasound_module_pcm_vdownmix.so
usr/lib64/alsa-lib/libasound_module_pcm_oss.la
usr/lib64/alsa-lib/libasound_module_pcm_oss.so
usr/lib64/alsa-lib/libasound_module_conf_pulse.la
usr/lib64/alsa-lib/libasound_module_conf_pulse.so
usr/lib64/alsa-lib/libasound_module_ctl_arcam_av.la
usr/lib64/alsa-lib/libasound_module_ctl_arcam_av.so
usr/lib64/alsa-lib/libasound_module_pcm_usb_stream.la
usr/lib64/alsa-lib/libasound_module_pcm_usb_stream.so
usr/lib64/alsa-lib/libasound_module_rate_speexrate.la
usr/lib64/alsa-lib/libasound_module_rate_speexrate.so
usr/lib64/alsa-lib/libasound_module_pcm_speex.la
usr/lib64/alsa-lib/libasound_module_pcm_speex.so
usr/lib64/alsa-lib/libasound_module_pcm_pulse.la <-----
usr/lib64/alsa-lib/libasound_module_pcm_pulse.so <-----
usr/lib64/alsa-lib/libasound_module_rate_samplerate.la
usr/lib64/alsa-lib/libasound_module_rate_samplerate.so
usr/lib64/alsa-lib/libasound_module_ctl_pulse.la
usr/lib64/alsa-lib/libasound_module_ctl_pulse.so
usr/lib64/alsa-lib/libasound_module_pcm_upmix.la
usr/lib64/alsa-lib/libasound_module_pcm_upmix.so
usr/lib64/alsa-lib/libasound_module_ctl_oss.la
usr/lib64/alsa-lib/libasound_module_ctl_oss.so
usr/share/
usr/share/alsa/
usr/share/alsa/alsa.conf.d/
usr/share/alsa/alsa.conf.d/50-pulseaudio.conf
usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example
install/
install/doinst.sh
Also,
Code:
axtroz@Slack64:/etc/pulse$ ls /usr/lib64/alsa-lib/ | grep pulse
libasound_module_conf_pulse.la*
libasound_module_conf_pulse.so*
libasound_module_ctl_pulse.la*
libasound_module_ctl_pulse.so*
libasound_module_pcm_pulse.la*
libasound_module_pcm_pulse.so*
and
strace aplay -Dpulse: http://pastebin.com/Nz1710zV (it's really long)

As far as I can tell from strace, it opens the library successfully but it still fails with can't open device or address.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
[SOLVED] Proper pulseaudio setup for Slackware64-current rmjohnso Slackware 15 03-04-2010 08:19 PM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM
slackware64-current : pulseaudio compilation fails, wrong version of libtool pokipoki08 Slackware 2 07-31-2009 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration