Re: use Glib -> crash

[email protected] (Kenneth Ă–lwing) Fri, 08 Feb 2019 10:19:26 +0100
Newsgroups perl.par
Message-ID <[email protected]>
I can't help directly, but I have found 'depends' 
http://www.dependencywalker.com/ invaluable in situations like this.

Hope it helps,

ken1

On 2019-02-08 10:10, RAPPAZ Francois via par wrote:
> Does Pango.xs.dll directly link to Glib.xs.dl?
> 
> I run
> 
> C:\strawberry\perl\site\lib\auto\Pango>objdump -x Pango.xs.dll | grep
> "Glib.xs.dll"
> 
>         DLL Name: Glib.xs.dll
> 
> FR
> 
> FROM: Roderich Schupp <[email protected]>
> SENT: 08 February 2019 09:23
> TO: RAPPAZ Francois <[email protected]>
> CC: [email protected]; Shawn Laffan <[email protected]>
> SUBJECT: Re: use Glib -> crash
> 
> On Fri, Feb 8, 2019, 09:06 RAPPAZ Francois <[email protected]
> wrote:
> 
>> Adding Glib.xs.dll to my list does not change the problem: same
>> error
> 
> Shawn was correct that they should not be added with --lib. Also they
> should be automatically detected, if not that's a bug.
> 
>> Using pp_autolink.pl [1] without any other file added manualy gives
>> the error
>> 
>> Can't load
>> 
> 'C:\Users\rappazf\AppData\Local\Temp\par-72617070617a66\cache-c3a6620d3518bb97ef20a314815e03e1745a9234\778ce824.xs.dll'
>> for module Pango: load_file:The specified module could not be found
>> at C:/strawberry/perl/lib/DynaLoader.pm line 193.
>> 
>> at C:/strawberry/perl/site/lib/PAR/Heavy.pm line 123.
> 
> Does Pango.xs.dll directly link to Glib.xs.dl?
> 
>> Comparing the output gavec by pp_autolink and the list I used
>> before, I see that
>> 
>> libgcc_s_sjlj-1.dll
> 
> That is always included as part of bootstrapping parl, hence
> superfluous.
> 
>> Strangely (for me !) the dll, Glib, Gtk2, Pango, Cairo are present
>> in auto/Glib etc despite they are not listed by pp_autolink
> 
> As above, they should be included automatically.
> 
>> I also see that in lib/auto/ the folder Gtk2, Glib and Pango are not
>> renamed in _Gtk2, _Glib, _Pango
> 
> Huh?
> 
> Cheers, Roderich
> 
> Links:
> ------
> [1] http://pp_autolink.pl