Missing libtdsodbc.so in freetds-dev - MSSQL on Ubuntu

后端 未结 2 814
孤城傲影
孤城傲影 2020-12-14 04:07

I\'m trying to get MSSQL working on Ubuntu 12.04 via ODBC, and I\'ve followed these steps to the letter:

http://jamesrossiter.wordpress.com/2011/03/08/connecting-to-

相关标签:
2条回答
  • 2020-12-14 04:10
    sudo apt-get install freetds-dev
    

    or

    sudo apt-get install tdsodbc
    

    now for 32-bit look in:

    /usr/lib/i386-linux-gnu/odbc/libtdsodbc.so
    

    or 64-bit:

    /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
    
    0 讨论(0)
  • 2020-12-14 04:34

    I ended up solving it with the help of this listserv post:

    http://mailman.unixodbc.org/pipermail/unixodbc-support/2008-November/001842.html

    Except:

    Driver = TDS
    

    Should be:

    Driver = FreeTDS
    

    That weird 64-bit driver I had to manually find was also relevant, and ignoring freetds.conf was the way to go.

    Fun stuff.

    0 讨论(0)
提交回复
热议问题