ArgusM has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I am currently trying to produce a standalone Win32 .exe version of my program, and I am running into problems. As my program uses wx, I am using wxpar, and as it is also using some routines from the GD module, I do manually include the path to the GD library:

wxpar -M GD -l C:\strawberry\perl\vendor\lib\auto\GD\GD.dll -o interface.exe interface.pl

When I then try to execute interface.exe on a computer which doesn't have Strawberry installed, errors like the following do occur:

"Can't load 'C:\Users\...\cache-cc91cb 3fa6f7178c7bec78a885cc1360e60cb937\5ae839b7.dll' for module GD: load_file:Das an gegebene Modul wurde nicht gefunden at C:/strawberry/perl/lib/DynaLoader.pm line 200. at C:/strawberry/perl/site/lib/PAR/Heavy.pm line 128 Compilation failed in require at script/interface.pl line 23. BEGIN failed--compilation aborted at script/interface.pl line 23."

"Das angegebene Modul wurde nicht gefunden" is German and means that a module couldn't be found - which is quite interesting in itself, as I am not using a German distribution of Strawberry Perl.

Could you give me any advice?

Best wishes,

Alexander

Replies are listed 'Best First'.
Re: pp and GD under Strawberry Perl
by Corion (Patriarch) on Aug 10, 2010 at 13:17 UTC

    Most likely, gd.dll requires some other DLL that you're missing.

Re: pp and GD under Strawberry Perl
by Anonymous Monk on Aug 11, 2010 at 00:55 UTC