Missing or broken libodbc.so.2 library

Table of Contents

Description

This library lets Windows applications use the Open Database Connectivity API (ODBC) to access databases.

Resolution

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

/path/to/cxoffice/bin/cxfix missinglibodbc missinglibodbc.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 64-bit Windows applications
    • Arch Linux : pacman -Syu unixodbc
    • Debian : apt-get install libodbc1:amd64
    • Fedora : yum install unixODBC.x86_64
    • openSUSE : zypper install unixODBC

Notes:

  • 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 libopenal.so.1 library

Last modified on 2025-05-02 17:38:22 UTC by Andrew Balfour

Knowledge Base Software powered by Helpjuice