Ruby install missing iconv.so

Jon Bauman jbauman@budcat.com
Tue Sep 16 21:37:00 GMT 2008


I've noticed the newer versions of ruby (1.8.6-p114-2 through 
1.8.7-p72-1) installed by cygwin are missing the iconv.so file that is 
normally located in /lib/ruby/1.8/i386-cygwin. My older (1.8.5-2) 
version had it, so I wonder why the change was made. The ruby iconv 
library is part of the ruby standard library and there a lots of things 
that require it. Here's a quick check to see if iconv is working for ruby:
> $ irb
> irb(main):001:0> require 'iconv'
If it's not working you get:
> LoadError: no such file to load -- iconv
>         from (irb):1:in `require'
>         from (irb):1
If it is, you should get:
> => true
The best workaround I've seen so far is this:
http://wiki.rubyonrails.com/rails/pages/iconv
But that's pretty annoying to have to install source and build something 
you just want to use binaries for.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list