I want to install libxml-ruby version 1.1.4.
I have libiconv and iconv installed, but I get the following errors:
extconf failure: need libiconv.
Install the libiconv or try passing one of the following options
Solution: “teach” the gem the path to your iconv lib like this:
gem i libxml-ruby -v 1.1.4 -- --with-iconv-lib=/usr/local/lib