小编Jay*_*poc的帖子

通过gem install tiny_tds在OSX 10.6上安装TinyTDS时出错

我一直在尝试使用OSX 10.6在Macbook上安装TinyTDS gem.我成功安装了免费TDS - 确认它的工作原理是:

tsql -H SERVER -p 1433 -U username.
Run Code Online (Sandbox Code Playgroud)

我从gem install tiny_tds得到的错误是:

Building native extensions.  This could take a while...
ERROR:  Error installing tiny_tds:
    ERROR: Failed to build gem native extension.

        /Users/jason/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... yes
checking for sybfront.h... yes
checking for sybdb.h... yes
checking for tdsdbopen() in -lsybdb... no
-----
freetds is missing.
-----
*** extconf.rb failed ***
Could not create Makefile due to some …
Run Code Online (Sandbox Code Playgroud)

freetds tiny-tds

7
推荐指数
1
解决办法
2567
查看次数

标签 统计

freetds ×1

tiny-tds ×1