http://qs321.pair.com?node_id=11139659


in reply to XML::LibXML with pp on windows

You are probably missing a second level dependency (i.e. one or more of the DLLs you are packing depends on another DLL you are not listing).

Give pp_autolink from App::PP::Autolink a go. I just tested with the script below. It fails using a plain pp call (in the same way that your call does), but passes with pp_autolink.

use strict; use warnings; use XML::LibXML; print 'done';

Replies are listed 'Best First'.
Re^2: XML::LibXML with pp on windows
by sectokia (Pilgrim) on Dec 16, 2021 at 04:20 UTC

    Thank you!

    pp_autolink built exe works, and pp_autolink shows the missing DLL was:

    c:\strawberry\c\bin\liblzma-5__.dll