emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#31591: closed (alsamixer Cannot open shared librar


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31591: closed (alsamixer Cannot open shared library libasound_module_ctl_pulse.so)
Date: Mon, 25 Jun 2018 15:36:02 +0000

Your message dated Mon, 25 Jun 2018 23:34:13 +0800
with message-id <address@hidden>
and subject line Re: [bug#31934] [PATCH] services: sound: Properly handle 
alsa-plugins.
has caused the debbugs.gnu.org bug report #31591,
regarding alsamixer Cannot open shared library libasound_module_ctl_pulse.so
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31591: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31591
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: alsamixer Cannot open shared library libasound_module_ctl_pulse.so Date: Fri, 25 May 2018 14:18:37 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Hello Guix,

The alsa-service-type service produces /etc/asound.conf with content:
--8<---------------cut here---------------start------------->8---
# Generated by 'alsa-service'.

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}
--8<---------------cut here---------------end--------------->8---

This config brokes alsamixer utility (removing asound.conf fixes issue):

$ alsamixer
--8<---------------cut here---------------start------------->8---
ALSA lib dlmisc.c:287:(snd1_dlobj_cache_get) Cannot open shared library 
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib/alsa-lib/libasound_module_ctl_pulse.so
 ((null): 
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib/alsa-lib/libasound_module_ctl_pulse.so:
 cannot open shared object file: No such file or directory)
cannot open mixer: No such device or address
--8<---------------cut here---------------end--------------->8---

alsa-lib doesn't contain libasound_module_ctl_pulse.so

$ find /gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib
--8<---------------cut here---------------start------------->8---
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib/libasound.so
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib/libasound.la
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib/libasound.so.2
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib/pkgconfig
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib/pkgconfig/alsa.pc
/gnu/store/98fa0av6rsj9kzrhdw45n9k53gp0d4dg-alsa-lib-1.1.6/lib/libasound.so.2.0.0
--8<---------------cut here---------------end--------------->8---

but alsa-plugins:pulseaudio does

$ find 
/gnu/store/cfz7jvkzp3k2ginvzz35pyp7zffabksk-alsa-plugins-1.1.6-pulseaudio | 
grep libasound_module_ctl_pulse.so
--8<---------------cut here---------------start------------->8---
/gnu/store/cfz7jvkzp3k2ginvzz35pyp7zffabksk-alsa-plugins-1.1.6-pulseaudio/lib/alsa-lib/libasound_module_ctl_pulse.so
--8<---------------cut here---------------end--------------->8---

Still after install alsa-utils and alsa-plugins:pulseaudio in my user
profile (I also have alsamixer in system profile), alsamixer cannot find
libasound_module_ctl_pulse.so

Oleg.

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: [bug#31934] [PATCH] services: sound: Properly handle alsa-plugins. Date: Mon, 25 Jun 2018 23:34:13 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Oleg Pykhalov <address@hidden> writes:

> Hello,
>
> address@hidden (宋文武) writes:
>
>> Julien Lepiller <address@hidden> writes:
>
> […]
>
>> Hello, after some hours of searching...  I found that we can use the
>> 'lib' option in 'pcm_type' and 'ctl_type' to specify the library path
>> for alsa plugins, e.g:
>
> Thats a nice hack :-)  Thank you for working on this.
>
> […]
>
>> So I think we can make our 'alsa-service' do this, instead of patching
>> alsa-lib for 'ALSA_PLUGIN_DIR'.
>
> Done.  Here is a patch which I tested on my machine by ‘system reconfigure’:
>

Thank you, I modified it to keep the 'pulseaudio? #f' function, and
pushed :-)


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]