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

Table of Contents

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.

Next Step: Missing or broken libcapi20.so.3 library

Last modified on 2023-09-29 19:15:41 UTC by Andrew Balfour