Strawberry Perl を使用して pp でファイルを作成exe
しましたが、別のマシンで実行すると、次のエラーが発生します。
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"
(「共有ライブラリが見つかりません..」エラー)を使用してみました。
この問題を解決するにはどうすればよいですか?