Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Before upgrading to ubuntu 12.04, I had the library in /usr/lib. I am pretty certain it was part of the unixodbc package.

Somehow it has gone missing after my last upgrade to 12.04 (64 bit), and some proprietary software depends on it.

Which package do I have to install to get it back?

share|improve this question

You need install unixodbc-dev Install unixodbc-dev and libmyodbc Install libmyodbc packages, to do the same open terminal and type the following command:

sudo apt-get update && sudo apt-get install unixodbc-dev libmyodbc
share|improve this answer

This has been killing me for a couple of days too. The location that works for me now is:


Also note that my freetds config had also mysteriously stopped working. I had to

cp /etc/freetds/freetds.conf /usr/local/etc/

share|improve this answer
I actually found it back under /usr/lib/x86_64-linux-gnu/ I am not a big fan of all this moving around of libraries. – mirk May 29 '12 at 13:33
@mirk that is why cp is not the correct method. This should be done with a symlink (ln -s) – Rinzwind Apr 12 '13 at 13:43
I don't think ln -sis ideal in directories maintained by the distribution. My prefered method is to set the LD_LIBRARY_PATH in my profile. – mirk Apr 12 '13 at 14:20

For those on 32 bit:

sudo apt-get install tdsodbc

look under

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.