I'm working on a Python project that uses DSN-less connections with SQLAlchemy / pyodbc / unixODBC / FreeTDS to fetch data from a SQL Server database. Now I would like to set client charset
directly in the connection string which is not possible in FreeTDS versions prior to 0.91.
Unfortunately 0.91 is not available in any PPA or as a deb file and as my compiling skills are quite lacking I haven't been able successfully compile it directly from source.
A user over at the Ubuntu Forums seems to have the same problem.
So, how would I go about compiling FreeTDS 0.91
on Ubuntu 11.04 x64
? Any help would be greatly appreciated.
I used :
to install freetds 0.9.1 to install on ubuntu 11.04. In /etc/odbcinst.ini
worked just fine!
From my notes on Debian Squeeze x64, so might be a bit different on your Ubuntu, I think I just followed the instructions in the documentation. Haven't tested if this specific variant works with e.g. odbc, but it compiles and installs ok.