# Ruby, GTK and iconv.dll

**URL:** <https://www.ruby-forum.com/t/ruby-gtk-and-iconv-dll/101481>\
**Category:** Ruby\
**Created:** [February 6, 2006, 4:09am UTC](https://www.ruby-forum.com/t/ruby-gtk-and-iconv-dll/101481 "2006-02-06T04:09:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phildobbin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b782af/32.png) [@phildobbin](https://www.ruby-forum.com/u/phildobbin)\
**Post date:** [February 6, 2006, 4:09am UTC](https://www.ruby-forum.com/t/ruby-gtk-and-iconv-dll/101481/1 "2006-02-06T04:09:42Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![phildobbin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b782af/32.png) [@phildobbin](https://www.ruby-forum.com/u/phildobbin)\
**Post date:** [February 25, 2006, 6:46am UTC](https://www.ruby-forum.com/t/ruby-gtk-and-iconv-dll/101481/2 "2006-02-25T06:46:20Z")

</div>

Hi Phil,  
It worked like a charm, Thanks!!!
