For some reason, I have a libiconv in /usr/local/lib, and that path is in the -L flags. I'm not sure what depends on that (I think it may be my R installation), but it has a different symbol name for iconv_open: $ nm /usr/local/lib/libiconv.dylib | grep iconv_open 00000000000195b0 T _libiconv_open 0000000000018dc0 T _libiconv_open_into $ nm /usr/lib/libiconv.dylib | grep iconv_open 0000000000013171 T _iconv_open I'm not sure why one has different symbols than the other, but without this patch, I can't compile nokogiri: /Users/aaron/.local/bin/ruby -I. ../../../../ext/nokogiri/extconf.rb checking for libxml/parser.h... yes checking for libxslt/xslt.h... yes checking for libexslt/exslt.h... yes checking for iconv_open() in iconv.h... no checking for iconv_open() in -liconv... no checking for iconv_open()... -liconv ----- libiconv is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies. ----- rake aborted! Command failed with status (1): [/Users/aaron/.local/bin/ruby -I. ../../../...] Tasks: TOP => compile => compile:x86_64-darwin11.4.0 => compile:nokogiri:x86_64-darwin11.4.0 => copy:nokogiri:x86_64-darwin11.4.0:2.0.0 => tmp/x86_64-darwin11.4.0/nokogiri/2.0.0/nokogiri.bundle => tmp/x86_64-darwin11.4.0/nokogiri/2.0.0/Makefile (See full trace by running task with --trace)
…, to unset that option. #693.