delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/16/15:55:06

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48D00EDC.9070805@budcat.com>
Date: Tue, 16 Sep 2008 14:54:04 -0500
From: Jon Bauman <jbauman AT budcat DOT com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Ruby install missing iconv.so
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019