unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31591: alsamixer Cannot open shared library libasound_module_ctl_pulse.so
@ 2018-05-25 11:18 Oleg Pykhalov
  2018-05-25 12:30 ` Julien Lepiller
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2018-05-25 11:18 UTC (permalink / raw)
  To: 31591

[-- Attachment #1: Type: text/plain, Size: 2463 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#31591: alsamixer Cannot open shared library libasound_module_ctl_pulse.so
  2018-05-25 11:18 bug#31591: alsamixer Cannot open shared library libasound_module_ctl_pulse.so Oleg Pykhalov
@ 2018-05-25 12:30 ` Julien Lepiller
  2018-06-15 11:43   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Lepiller @ 2018-05-25 12:30 UTC (permalink / raw)
  To: 31591

Le 2018-05-25 13:18, Oleg Pykhalov a écrit :
> 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.

Hi Oleg,

I've sent a patch to the mailing list for this issue already. I think 
I'll push it this evening.

https://lists.gnu.org/archive/html/guix-patches/2018-04/msg00351.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#31591: alsamixer Cannot open shared library libasound_module_ctl_pulse.so
  2018-05-25 12:30 ` Julien Lepiller
@ 2018-06-15 11:43   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-06-15 11:43 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 31591


Hi Julien,

>> $ 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

[…]

> I've sent a patch to the mailing list for this issue already. I think
> I'll push it this evening.
>
> https://lists.gnu.org/archive/html/guix-patches/2018-04/msg00351.html

I still see the reported behaviour.  I only installed “alsa-utils” in my
default profile, not the pulseaudio plugin.

Can we avoid this problem by including the pulseaudio plugin
automatically when alsa-services is configured to use pulseaudio?

--
Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-15 11:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-25 11:18 bug#31591: alsamixer Cannot open shared library libasound_module_ctl_pulse.so Oleg Pykhalov
2018-05-25 12:30 ` Julien Lepiller
2018-06-15 11:43   ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).