Missing or broken libasound.so.2 library for MIDI support

Description

All modern Linux distributions use PulseAudio to handle audio. But PulseAudio does not support MIDI peripherals and sound tracks. So if you need to run one of the few Windows applications that need MIDI support you will need to add the ALSA sound system.

Resolution

On CrossOver 17 and greater, the simplest solution to fix this issue is to run:

/path/to/cxoffice/bin/cxfix missinglibasound missinglibasound.amd64

Or add --show-all to see how CrossOver would fix it on your platform and others.

Alternatively you may try one of the commands below.

  • For 32-bit Windows applications
    32-bit Arch Linux : pacman -Syu alsa-lib
    64-bit Arch Linux : pacman -Syu lib32-alsa-lib
    Debian : apt-get install libasound2:i386
    32-bit Fedora : yum install alsa-lib
    64-bit Fedora : yum install alsa-lib.i686 alsa-lib.x86_64
    32-bit openSUSE : zypper install libasound2
    64-bit openSUSE : zypper install libasound2-32bit
  • For 64-bit Windows applications
    Arch Linux : pacman -Syu alsa-lib
    Debian : apt-get install libasound2:amd64
    Fedora : yum install alsa-lib.x86_64
    openSUSE : zypper install libasound2

Notes:

  • For additional help with sound, please see our sound troubleshooting guide.
  • You may also need to install ALSA plugins to avoid conflicts with PulseAudio as described on the ALSA does not go through PulseAudio page.
  • cxfix --show-all may have more up-to-date fixes.
  • The commands usually also apply to derived distributions. So for instance a fix for Debian is typically also applicable to Ubuntu, Linux Mint, Deepin and Pop! OS. Similarly a fix for Fedora likely also works on Red Hat Enterprise Linux, CentOS, etc.
Last modified on 2022-08-18 09:31:06 by François Gouget
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/Diag/MissingLibAsoundMidi
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjpudWxsLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNjczNjM5MzYzLCJjc3JmX3Rva2VuIjoibWNQVlFweHB2YzlSN3A3WCIsImdkcHIiOjB9