From: H. Mayer <h._h._h._@ho...> - 2007-03-02 17:07:25
I'm using the ghc 6.6 on windows xp and downloaded the Gtk2Hs 0.9.11.exe
installer about an hour ago.
Download as well as installation worked properly, but when I try to run a
program using gtk2hs I just get the error:
entry point libiconv_set_relocation_prefix not found in the DLL iconv.dll
It's a bug, isn't it?
Die Vielfalt der Optionen lässt Sie im Internet erfolgreich recherchieren.
On Fri, 2007-03-02 at 18:07 +0100, H. Mayer wrote:
> I'm using the ghc 6.6 on windows xp and downloaded the Gtk2Hs 0.9.11.exe
> installer about an hour ago.
> Download as well as installation worked properly, but when I try to run a
> program using gtk2hs I just get the error:
> entry point libiconv_set_relocation_prefix not found in the DLL iconv.dll
> It's a bug, isn't it?
Did the Gtk2Hs installer complain at all when you ran it? The installer
is supposed to check for this situation where there's an existing
version of some .dll that Gtk+ uses that exists on the %PATH%.
You can try re-running the installer and see if it complains about
this .dll problem. It tries to explain the problem and a couple
What is actually happening is that when you run one of your Gtk2Hs
programs, windows searches for the Gtk+ .dll files using the list of
directories in the %PATH% environment variable. The first ones it finds
it will use. So in your case it is finding an existing older version of
iconv.dll that is already on your system before the one that was just
installed with Gtk+. So it can't find this function in the old version
The Gtk2Hs installer added the directory where it put all the Gtk+ .dll
files into your %PATH% list, but what must be happening is that the
other version of iconv.dll appears in a directory that comes earlier in
the %PATH% list.
This is exactly the situation that the Gtk2Hs installer tries to detect
and warn about, so if it didn't warn, I'm a bit surprised and perhaps
you might help us debug that problem.
You can try to search for iconv.dll in your windows and windows\system32
directory or in directories that are in your %PATH%. You can find out
exactly what your path is by opening a command window and running the
Get latest updates about Open Source Projects, Conferences and News.