Created
January 31, 2011 20:36
-
-
Save ezkl/804753 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flat_namespace -lruby.1.9.1 -lsybdb -lpthread -ldl -lobjc | |
ld: in /Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/libiconv.2.dylib, missing required architecture x86_64 in file | |
collect2: ld returned 1 exit status | |
make: *** [tiny_tds.bundle] Error 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install libiconv | |
$ rvm remove 1.9.2 | |
$ rvm install 1.9.2 --with-iconv-dir=/usr/local/Cellar/libiconv/1.13.1 | |
$ brew link libiconv | |
$ gem install tiny_tds | |
$ brew unlink libiconv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had trouble installing the 'tiny_tds' gem on Snow Leopard, w/ Ruby 1.9.2 (via RVM), and freetds (via Homebrew.) These steps allowed me to install the gem.
In retrospect, it is quite likely that building 1.9.2 against the homebrew iconv was unecessary.