develooper Front page | perl.par | Postings from February 2019

use Glib -> crash

Thread Next
RAPPAZ Francois via par
February 7, 2019 13:25
use Glib -> crash
Message ID:
Hello there

I'm using PAR Packager, version 1.037 (PAR version 1.015) an perl 5.24 on strawberry (Windows 10)

In the past I did packed Gtk2 based script, as described here

I'm trying to follow the same road to pack a script and the resulting exe crash with

Can't locate loadable object for module Glib in @INC (@INC contains: ../mod/hg_Gtk2-Ex-DbLinker/lib/
../mod/hg_Gtk2-Ex-DbLinker-DbTools/lib/ C:\Users\rappazf\AppData\Local\Temp\par-72617070617a66\cache-65ac080e24508b2571cee2bc0efea0f14cbf37f5\inc\lib
C:\Users\rappazf\AppData\Local\Temp\par-72617070617a66\cache-65ac080e24508b2571cee2bc0efea0f14cbf37f5\inc CODE(0x31979a4) CODE(0x3197b9c)) at C:/strawberry/perl/site/lib/PAR/ line 99.
Compilation failed in require at line 30.

the line in question is use Glib;

My list of options for the included libraries is
-a 'U:\docs\perl\lib\Forms\Dnav.bld;\lib\Forms\Dnav.bld'
-l libgobject-2.0-0.dll
-l libglib-2.0-0.dll
-l libgthread-2.0-0.dll
-l libcairo-2.dll
-l libfontconfig-1.dll
-l libexpat-1.dll
-l freetype6.dll
-l libpng14-14.dll
-l zlib1.dll
-l libpango-1.0-0.dll
-l libgmodule-2.0-0.dll
-l libpangocairo-1.0-0.dll
-l libpangoft2-1.0-0.dll
-l libpangowin32-1.0-0.dll
-l libatk-1.0-0.dll
-l libgdk-win32-2.0-0.dll
-l libgdk_pixbuf-2.0-0.dll
-l libgio-2.0-0.dll
-l libgtk-win32-2.0-0.dll
-l intl.dll
-l libmysql_.dll
-l 'C:\strawberry\perl\site\lib\auto\Pango\Pango.dll'
-l 'C:\strawberry\perl\site\lib\auto\Glib\Glib.dll'
-l 'C:\strawberry\perl\site\lib\auto\Gtk2\Gtk2.dll'
-l 'C:\strawberry\perl\site\lib\auto\Cairo\Cairo.dll'
-X DBD::Gofer
-X DBD::SQLite
-X DBD::File

Thanks for any help


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