Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: XML::LibXML with pp on windows

by swl (Vicar)
on Dec 16, 2021 at 03:51 UTC ( #11139659=note: print w/replies, xml ) Need Help??


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 (Monk) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139659]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2023-02-08 07:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?