Missing or broken libodbc.so.2 library


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


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
  • 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.
Last modified on 2020-10-13 21:23:49 by François Gouget
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/Diag/MissingLibOdbc
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...