develooper Front page | perl.par | Postings from October 2006

Re: [ #13508] cannot find Glib.dll on win32, despite being packaged in the exe

Thread Previous | Thread Next
Marc Lehmann
October 13, 2006 13:33
Re: [ #13508] cannot find Glib.dll on win32, despite being packaged in the exe
Message ID:
On Fri, Sep 01, 2006 at 08:32:05AM -0400, Audrey Tang via RT <> wrote:
> In fact, the Glib.dll problem (DynaLoader-specific name mangling defeats
> third-party shared object loading) is the same as the Wx.dll problem we
> diagnosed and resolved on PAR 0.952, so there's a high probability that
> it's already resolved.

I installed par-0.956 and modified my script (which worked fine with
earlier versions of par), to:

- no longer -X Gtk2 -X Glib
- no longer include Glib.dll, etc. files for Glib and Gtk2

and promptly got the same problem again: Glib.dll not found. On closer
inspection, Glib.dll is now indeed packaged, but still not found.

Likely this is because it is not in the PATH, nor whereever Gtk2.dll
expects it (namely in shlib/Glib.dll, while par packages it into

> If not, please send me a one-liner that exhibits the problem (pp -e "...");

I have no idea how to make a one-liner, because I still have to package all
the libraries, and this makes it longer than the valid line length on

I would guess the moral equivalent that exhibits the problem is:

   pp -e "use Gtk2"

running under an environment not having perl but everything else (libgtk

This would stop because Gtk2 can't find Glib.dll

                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __
      --==---/ / _ \/ // /\ \/ /
      -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About