Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![johnstewart](https://secure.gravatar.com/avatar/4b4a66bf738016e26b350cb0c88b8cb7?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
johnstewart
1,104 PointsMissing Libiconv
Similar issue to Michael Bukowski's in the ticket "Bundle Issue with odot." Except it looks like I'm missing libiconv, not libxml2. I tried the xcode-select remedy Jason mentioned in his response, but that didn't help me. Below is the error message I get upon trying to install nokogiri v 1.6.2.1:
Building nokogiri using packaged libraries.
libiconv is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
*** 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.
5 Answers
![Artem Prytkov](https://uploads.teamtreehouse.com/production/profile-photos/351462/micro_2LRaJH5t6jY.jpg)
Artem Prytkov
11,932 PointsTry install build-essentials before.
On Ubuntu: sudo apt-get install build-essentials
![johnstewart](https://secure.gravatar.com/avatar/4b4a66bf738016e26b350cb0c88b8cb7?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
johnstewart
1,104 PointsJust ran "sudo install build-essentials" (used sudo to make sure I wouldn't get permissions issues) -- the command returned:
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ...
Then, I got the same error again trying to install nokogiri.
![Artem Prytkov](https://uploads.teamtreehouse.com/production/profile-photos/351462/micro_2LRaJH5t6jY.jpg)
Artem Prytkov
11,932 PointsWhat OS you use? If Ubuntu, then you forgot to type apt-get
Full command: sudo apt-get install build-essentials
![johnstewart](https://secure.gravatar.com/avatar/4b4a66bf738016e26b350cb0c88b8cb7?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
johnstewart
1,104 PointsSorry, should have specified -- I'm on OS X Mavericks (10.9.3, specifically). So I shouldn't have needed to append apt-get, right?
![Artem Prytkov](https://uploads.teamtreehouse.com/production/profile-photos/351462/micro_2LRaJH5t6jY.jpg)
Artem Prytkov
11,932 PointsNo, apt-get is Ubuntu package manager. I`m not familiar with OS X (afaik its package manager called homebrew), but I think steps should be similar