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 32-bit Windows applications
    32-bit Arch Linux : pacman -Syu unixodbc
    Debian : apt-get install libodbc1:i386
    32-bit Fedora : yum install unixODBC
    64-bit Fedora : yum install unixODBC.i686 unixODBC.x86_64
    32-bit openSUSE : zypper install unixODBC
    64-bit openSUSE : zypper install unixODBC-32bit
  • 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 2023-09-29 11:17:55 UTC by Andrew Balfour

Knowledge Base Software powered by Helpjuice