Skip to content

Instantly share code, notes, and snippets.



Created May 21, 2019
What would you like to do?
$ gem install idn-ruby -v '0.1.0' --source ''
Building native extensions. This could take a while...
ERROR: Error installing idn-ruby:
ERROR: Failed to build gem native extension.
current directory: /Users/hyejinan/.rvm/gems/ruby-2.6.0/gems/idn-ruby-0.1.0/ext
/Users/hyejinan/.rvm/rubies/ruby-2.6.0/bin/ruby -I /Users/hyejinan/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0 -r ./siteconf20190521-27028-kds8w9.rb extconf.rb
checking for -lidn... no
ERROR: could not find idn library!
Please install the GNU IDN library or alternatively specify at least one
of the following options if the library can only be found in a non-standard
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
To see why this extension failed to compile, please check the mkmf.log which can be found here:
extconf failed, exit code 1
Gem files will remain installed in /Users/hyejinan/.rvm/gems/ruby-2.6.0/gems/idn-ruby-0.1.0 for inspection.
Results logged to /Users/hyejinan/.rvm/gems/ruby-2.6.0/extensions/x86_64-darwin-17/2.6.0/idn-ruby-0.1.0/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment