Forum: Ruby ruby, GTK and iconv.dll

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Phil D. (Guest)
on 2006-02-06 05:09
(Received via mailing list)

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
instructions at:

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

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/ 127: The
specified pr
ocedure could not be found.   -
/ (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
steve messamore (Guest)
on 2006-02-25 07:46
(Received via mailing list)
Hi Phil,
It worked like a charm, Thanks!!!
This topic is locked and can not be replied to.