You've already got enough information to spot the problem. The error message is: [unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so' file not found. Yet your odbcinst.ini says: Driver = /usr/lib/odbc/libtdsodbc.so Creating a symlink from /usr/lib/libtdsodbc.so to /usr/lib/odbc/libtdsodbc.so might fix it.