Cannot open shared library libasound_module_conf_pulse.so

Asked by FMc on 2018-08-24

I upgraded from 16.04.1 LTS to 18.04.1 LTS. Sound was working fine in 16.04.1 LTS.

Unfortunately I now have no sound working on my PC (I use it as a mediaPC running Kodi).

In the /var/log/syslog I see this log entry on start-up:

Aug 24 18:20:43 mediapc alsactl[683]: ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
Aug 24 18:20:43 mediapc alsactl[683]: ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
Aug 24 18:20:43 mediapc alsactl[683]: /usr/sbin/alsactl: set_controls:1482: snd_ctl_open error: No such file or directory

And when I try to run aplay or amixer, I get this error:

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
aplay: device_list:279: control open (0): No such file or directory

When I run pavucontrol for pulseaudio, it works - it finds the correct card, and when I click to play music the sound levels show that music is playing, but nothing comes through.

I have uninstalled and reinstalled pulseaudio:i386, alsa-base, libasound2-plugins but nothing works.

sudo apt-file find libasound_module_conf_pulse.so
libasound2-plugins: /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_conf_pulse.so

 dpkg -l | egrep 'alsa|pulseaudio|libasound' | pastebinit
http://paste.ubuntu.com/p/2SDVZjcNfN/

tail -2000 /var/log/syslog | pastebinit
http://paste.ubuntu.com/p/XBRh5GDXZr/

dmesg | pastebinit
http://paste.ubuntu.com/p/tnWYP5vK4G/

uname -a | pastebinit
http://paste.ubuntu.com/p/47pj5Zx4H7/

id | pastebinit
http://paste.ubuntu.com/p/SC9bQRRrT8/

amixer
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL default
amixer: Mixer attach default error: No such file or directory

aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
aplay: device_list:279: control open (0): No such file or directory

pactl list | pastebinit
http://paste.ubuntu.com/p/B3wdz8r3jv/

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
FMc
Solved:
2018-08-25
Last query:
2018-08-25
Last reply:
2018-08-25
Manfred Hampl (m-hampl) said : #2

libasound_module_conf_pulse.so is provided by the package libasound2-plugins.
I suggest that you try /re-)installing that package.

FMc (mccannf) said : #3

I figured out the problem.

Each time I used apt-get to install libasound2-plugins it would only install the i386 version:

libasound2-plugins:i386

It would not install the amd64 version.

And alsa-base is the amd64 version so it couldn't find libasound2-plugins.

So I went to https://packages.ubuntu.com/bionic/libasound2-plugins and downloaded the amd64 version

and installed the package explicitly:

sudo dpkg -i libasound2-plugins_1.1.1-1ubuntu1_amd64.deb

and then it worked.