我exe
使用 Strawberry Perl 用 pp 制作了文件,但是当我在另一台机器上运行它时,出现以下错误:
The program can't start because libexpat-1__.dll is missing from your computer. Try reinstalling the program to fix this problem.
我用这个命令制作可执行文件:
pp -M FindBin -M DateTime -M DateTime::Format::JSON::MicrosoftDateFormat -M DateTime::Format::DateParse -M REST::Client -M JSON::XS -M Spreadsheet::ParseExcel -M Spreadsheet::ParseXLSX -M Log::Log4perl::Tiny -o test.exe test.pl
我尝试使用-a "c:\strawberry\c\bin\libexpat-1_.dll"
(没有帮助)和-l "c:\strawberry\c\bin\libexpat-1_.dll"
(“找不到共享库..”错误)。
我该如何解决这个问题?