Missing or broken libXrandr.so.2 library

Table of Contents

Description

XRandR lets games adjust the display resolution as needed. It is strongly recommended to install it if you plan to use games.

Resolution

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

/path/to/cxoffice/bin/cxfix missinglibxrandr missinglibxrandr.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
    • 64-bit Arch Linux : pacman -Syu lib32-libxrandr
    • Debian : apt-get install libxrandr2:i386
    • 64-bit Fedora : yum install libXrandr.i686 libXrandr.x86_64
    • 64-bit openSUSE >= 11.2 : zypper install xorg-x11-libs-32bit
    • 64-bit openSUSE >= 12.1 : zypper install libXrandr2-32bit
       
  • For 64-bit Windows applications
    • Arch Linux : pacman -Syu libxrandr
    • Debian : apt-get install libxrandr2:amd64
    • Fedora : yum install libXrandr.x86_64
    • openSUSE >= 11.2 : zypper install xorg-x11-libs
    • openSUSE >= 12.1 : zypper install libXrandr2

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.

Next Step: Missing or broken libXrender.so.1 library

Last modified on 2025-05-05 15:41:04 UTC by Andrew Balfour

Knowledge Base Software powered by Helpjuice