From: Justin Collins Date: 2009-06-05T11:12:04+09:00 Subject: Re: env change, or iconv library self-mutated??? Mk 27 wrote: > Nobuyoshi Nakada wrote: > >> Hi, >> >> At Thu, 4 Jun 2009 23:22:54 +0900, >> Mk 27 wrote in [ruby-talk:338369]: >> >>> iconv.rb could be generated at runtime??? since the only thing in the >>> library is iconv.so >>> >> Of course no. It's generated at compile time and installed. >> > > I built ruby from source in /usr/local. Ruby installed two directories, > /usr/local/lib/ruby and /usr/local/include/ruby-1.9.1: > > [root/usr/local/lib/ruby] find -name iconv.* > ./1.9.1/x86_64-linux/iconv.so > [root/usr/local/include] cd ../include/ruby-1.9.1/ > [root/usr/local/include/ruby-1.9.1] find -name iconv.* > [root/usr/local/include/ruby-1.9.1] > > >> First check your environment variable RUBYLIB and RUBYOPT, and >> where the iconv.rb is loaded. >> > > [root~] echo $RUBYOPT > > [root~] echo $RUBLIB > > Notice the blank lines. I also grepped through the 3700+ html pages in > the API and did find a single reference to RUBYOPT or RUBLIB. > > What's the deal guy? Am I supposed to take you seriously? > > Nobu is one of the main Ruby developers. Yes, you should take him seriously. He is trying to determine if the version of iconv which is being loaded is different from what you are expecting and what it should be. -Justin