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

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

Thread Previous | Thread Next
From:
Marc Lehmann
Date:
October 13, 2006 13:33
Subject:
Re: [rt.cpan.org #13508] cannot find Glib.dll on win32, despite being packaged in the exe
Message ID:
20061013191528.GA4921@schmorp.de
On Fri, Sep 01, 2006 at 08:32:05AM -0400, Audrey Tang via RT <bug-PAR@rt.cpan.org> 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, Glib.pm 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
lib/auto/Glib/Glib.dll).

> 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
windows.

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
etc.).

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

-- 
                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __      pcg@goof.com
      --==---/ / _ \/ // /\ \/ /      http://schmorp.de/
      -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About