mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[GH-ISSUE #311] No sound devices available #1100
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kprzybys on GitHub (Dec 5, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/311
Describe the bug
No sound devices avaliable
To Reproduce
Just run spotify_player
Expected behavior
Sound devices available
Log and backtrace
ALSA lib conf.c:4028:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so (/home/linuxbrew/.linuxbrew/Cellar/alsa-lib/1.2.10/lib/alsa-lib/libasound_module_conf_pulse.so: cannot open shared object file: No such file or directory)
ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM default
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
None
@aome510 commented on GitHub (Dec 6, 2023):
What is the result of
ldconfig -p | grep libasound_module_conf_pulse.so? Can you also try installing the following packagesalsa-base alsa-utils pulseaudioand run again?@kprzybys commented on GitHub (Dec 7, 2023):
None - empty. But:
ldconfig -p | grep libasound
libasound.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libasound.so.2
libasound.so.2 (libc6) => /lib/i386-linux-gnu/libasound.so.2
libasound.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libasound.so
alsa-base is already the newest version (1.0.25+dfsg-0ubuntu5).
alsa-utils is already the newest version (1.2.2-1ubuntu2.1).
pulseaudio is already the newest version (1:13.99.1-1ubuntu3.13).
@aome510 commented on GitHub (Dec 7, 2023):
Oh, I got the wrong package.
libasound_module_conf_pulseshould be inlibasound2-plugins. Can you install it and try again?@kprzybys commented on GitHub (Dec 7, 2023):
Got it installed:
libasound2-plugins is already the newest version (1.2.2-1ubuntu1).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 7 nieaktualizowanych.
(base) xxx:~$ spotify_player
ALSA lib conf.c:4028:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so (/home/linuxbrew/.linuxbrew/Cellar/alsa-lib/1.2.10/lib/alsa-lib/libasound_module_conf_pulse.so: cannot open shared object file: No such file or directory)
ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM default
Problem persists.
@aome510 commented on GitHub (Dec 7, 2023):
At this point, I have no idea why this issue happens unfortunately. It's weird that
libasound2-pluginsinstalled butldconfig -p | grep libasound_module_conf_pulse.soreturns nothing.Maybe related: https://github.com/orgs/Homebrew/discussions/790. I saw people resolve the issue by re-installing the dependencies.
Note: this kind of dependency problem tends to be not related to
spotify_playerbut how the user's system handles the dependency lookup.@kprzybys commented on GitHub (Dec 7, 2023):
Managed to solve it by creating symlinks to libraries from /usr/lib/x86_64-linux-gnu/alsa-lib/
@aome510 commented on GitHub (Dec 7, 2023):
great to hear that. Will close this issue for now.