我正在尝试在运行OS.X Mavericks的mac上安装tiny_tds但是我收到以下错误:
ERROR: Error installing tiny_tds:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb gem install tiny_tds -- --without-iconvlib --with-freetds-lib=/usr/local/Cellar/freetds/0.91/lib --with-freetds-include=/usr/local/Cellar/freetds/0.91/include
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -lfalse... no
-----
libiconv is missing.
-----
*** extconf.rb failed ***
我正在使用以下命令安装tiny_tds:
sudo gem install tiny_tds -- --with-freetds-include=/usr/local/include --with-freetds-lib=/usr/local/lib --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib
我调查了iconv.h
并且没有iconv_open()
方法。
顺便说一下,我正在使用ruby 2.0.0p451
答案 0 :(得分:0)
更新到ruby 2.1.2后问题解决了