freeTDS: Missing libtdsodbc.so file on OSX?

落爺英雄遲暮 提交于 2019-12-10 12:41:59

问题


I am trying to connect to a SQL server from a python script on a Mac OSX and after installing freeTDS using brew install freeTDS I can't seem to find the driver "libtdsodbc.so" anywhere on my machine so that I can place it in the connection string.

Has anyone ever encountered this problem or knows why it's happening?

Thanks


回答1:


So according to This thread here the issue is with the way freeTDS is built now, you need to use brew install freetds --with-unixodbc and I can verify this fixed my problem.



来源:https://stackoverflow.com/questions/28074751/freetds-missing-libtdsodbc-so-file-on-osx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!