GNU bug report logs -
#31591
alsamixer Cannot open shared library libasound_module_ctl_pulse.so
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31591 in the body.
You can then email your comments to 31591 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#31591
; Package
guix
.
(Fri, 25 May 2018 11:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 25 May 2018 11:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#31591
; Package
guix
.
(Fri, 25 May 2018 12:31:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#31591
; Package
guix
.
(Fri, 15 Jun 2018 11:45:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 31591 <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
iyzsong <at> member.fsf.org (宋文武)
:
You have taken responsibility.
(Mon, 25 Jun 2018 15:36:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 25 Jun 2018 15:36:03 GMT)
Full text and
rfc822 format available.
Message #16 received at 31591-done <at> debbugs.gnu.org (full text, mbox):
Oleg Pykhalov <go.wigust <at> gmail.com> writes:
> Hello,
>
> iyzsong <at> member.fsf.org (宋文武) writes:
>
>> Julien Lepiller <julien <at> lepiller.eu> 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 :-)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 24 Jul 2018 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.