Missing or broken libOSMesa.so.8 library

Table of Contents

Description

The OSMesa library is needed by some games and CAD-like applications to perform off-screen rendering.

Resolution

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

/path/to/cxoffice/bin/cxfix missinglibosmesa82 missinglibosmesa82.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 mesa
    64-bit Arch Linux : pacman -Syu lib32-mesa
    Debian : apt-get install libosmesa6:i386
    32-bit Fedora (1) : yum install mesa-libOSMesa
    64-bit Fedora (1) : yum install mesa-libOSMesa.i686 mesa-libOSMesa.x86_64
    32-bit openSUSE >= 12.1 : zypper install libOSMesa8
    64-bit openSUSE >= 12.1 : zypper install libOSMesa8-32bit
    32-bit openSUSE >= 12.3 : zypper install libOSMesa9
    64-bit openSUSE >= 12.3 : zypper install libOSMesa9-32bit
    32-bit openSUSE >= 15.0 : zypper install libOSMesa8
    64-bit openSUSE >= 15.0 : zypper install libOSMesa8-32bit
    32-bit RHEL 8 (2) : dnf install epel-release ; dnf install --best mesa-libOSMesa
    64-bit RHEL 8 (2) : dnf install epel-release ; dnf install --best mesa-libOSMesa.i686 mesa-libOSMesa.x86_64
  • For 64-bit Windows applications
    Arch Linux : pacman -Syu mesa
    Debian : apt-get install libosmesa6:amd64
    Fedora (1) : yum install mesa-libOSMesa.x86_64
    openSUSE >= 12.1 : zypper install libOSMesa8
    openSUSE >= 12.3 : zypper install libOSMesa9
    openSUSE >= 15.0 : zypper install libOSMesa8
    RHEL 8 (2) : dnf install epel-release ; dnf install --best mesa-libOSMesa.x86_64

Notes:

  • cxfix --show-all may have more up-to-date fixes.
  • The commands usually also apply to newer versions of the distributions above as well as derived distributions. So for instance a fix for Debian 7 may still be valid for the latest Debian Testing and 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.
  • (1) This library is broken on Fedora 17 (see Red Hat issue 838228). The recommended fix is to upgrade to a newer Fedora release.
  • (2) : On RHEL and its derivatives (AlmaLinux, CentOS, Rocky Linux, etc.), the library is only available from the Extra Packages for Enterprise Linux (EPEL) repository.

Next Step: Missing or broken libpcap.so.0.8 library

Last modified on 2023-09-29 11:19:49 UTC by Andrew Balfour