本文介绍了无法在os.x 10.9.4上安装tiny_tds的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在运行OS.X Mavericks的Mac上安装tiny_tds,但出现以下错误:
I'm trying to install tiny_tds on a mac running OS.X Mavericks but I receive the following error:
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:
I'm using the following command to install 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
By the way, I'm using ruby 2.0.0p451
推荐答案
更新到ruby 2.1.2后问题解决了
Problem solved after updating to ruby 2.1.2
这篇关于无法在os.x 10.9.4上安装tiny_tds的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!