ruby, GTK and iconv.dll

P

Phil Duby

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top