Skip to content

Does not start on systems without libasound.so.2 #236

@cscherrNT

Description

@cscherrNT

Describe the bug
It requires some audio library which headless/WSL2 systems do not provide.

cb: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

To Reproduce
Try to install it on Debian WSL2 (possibly other WSL2 Distributions too) with the provided release zip.

Expected behavior
It just works without sound

Version
0.10.0 clipboard-linux-amd64.zip

Debian GNU/Linux 12 on WSL2
Linux LP22034 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 GNU/Linux

Workaround

Installing libasound2:

# apt install libasound2

Additional context
Is headless/audoless not supported? Seems weird that it just can't start without audio. Not that I need it to make sounds anyway. Even ignoring all the audio and WSL weirdness, I'd expect it to just work on a fresh headless install, since maybe some people want to use it on their servers for admin work.

Disabling the audio with an env var did not help.

CLIPBOARD_NOGUI=1
CLIPBOARD_NOAUDIO=1
CLIPBOARD_SILENT=1
CLIPBOARD_THEME=darkhighcontrast

Possibly related to #208

For transparency, I am @PlexSheep, this is just another account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions