Hi,

What's with the ruby version of iconv.dll?

For Windows XP Pro, ruby 1.8.4 (2005-12-24) [i386-mswin32]
I wanted to try an example today that needed GTK.  I installed based on the 
instructions at:

http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+for+Windows

and had problems.  Running the second step of the test on the install page:

ruby -e "require 'gtk2'"

Popped up a windows requestor / window with title / content of:

ruby.exe - Entry Point Not Found
The procedure entry point libiconv_set_relocation_prefix count not be 
located in the dynamic link library iconv.dll

after closing that, the results show in the DOS (cmd) window were:

C:/Progs/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/glib2.so: 127: The 
specified pr
ocedure could not be found.   - 
C:/Progs/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt
/glib2.so (LoadError)
        from C:/Progs/ruby/lib/ruby/site_ruby/1.8/glib2.rb:68
        from C:/Progs/ruby/lib/ruby/site_ruby/1.8/gtk2.rb:1
        from -e:1

I got it to work by renaming
C:\Progs\ruby\bin\iconv.dll ==> C:\Progs\ruby\bin\iconv.old_dll
and copying
C:\Program Files\GTK\bin\iconv.dll ==> C:\Progs\ruby\bin\iconv.dll

-- 
Phil
remove all of the (at)'s to send email