Cannot install tiny_tds on os.x 10.9.4
Asked Answered
V

1

0

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 ***

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

I have looked into iconv.h and there is no iconv_open() method.

By the way, I'm using ruby 2.0.0p451

Valenza answered 24/7, 2014 at 10:49 Comment(0)
V
0

Problem solved after updating to ruby 2.1.2

Valenza answered 24/7, 2014 at 13:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.