in reply to Re^2: pp missing module error
in thread pp missing module error

Ok, I got hold of two Windows systems... one to build the executable, the other with no Strawberry (such things exist!) to run it. Here's the pp invocation in my .bat file:
pp --verbose ^ --link=libgd-3__.dll ^ --link=libbz2-1__.dll ^ --link=libgraphite2__.dll ^ --link=libharfbuzz-0__.dll ^ --link=libfreetype-6__.dll ^ --link=libiconv-2__.dll ^ --link=libjpeg-9__.dll ^ --link=liblzma-5__.dll ^ --link=libpng16-16__.dll ^ --link=libtiff-5__.dll ^ --link=libXpm__.dll ^ --link=zlib1__.dll ^ --module=GD ^ --output=gdpacked.exe ^ pack_gd.pl

The program pack_gd.pl is just the synopsis from GD on metacpan. Running pp produces no error, and running the executable prints a PNG image. So when you run it, remember to redirect the output to a .png file.

In my first reply, I mixed up some dashes with underscores and missed a few dependencies. Sorry.

Replies are listed 'Best First'.
Re^4: pp missing module error
by nzsvz9 (Sexton) on May 28, 2020 at 11:39 UTC
    Thanks very much - this worked - explicitly linking in the list of libraries.

    I did also try ppsimple - however the install of Proc::Background failed test 47 and did not install - after installing SomeUtils and AllUtils. But, I digress.

    My sincere thanks to everyone who chimed in to help - and get this off zero for me - you are appreciated :)