Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有在 mysql db 中执行一些更新/插入的 perl 脚本。我使用PAR::Packer. 我将它复制到另一台机器上(未安装 perl)并运行 PAR 包,由于缺少libmysql_.dll ,它失败并抛出错误。
PAR::Packer
您需要将 libmysql_.dll 作为 PAR 包的一部分包含在内。如图所示,使用 -l 选项指定路径。
perldoc pp |ack "-l\b" -l, --link=*FILE*|*LIBRARY* packed file. Also accepts names under library paths; i.e. "-l ncurses" means the same thing as "-l libncurses.so" or "-l
perldoc pp |ack "-l\b"
-l, --link=*FILE*|*LIBRARY* packed file. Also accepts names under library paths; i.e. "-l ncurses" means the same thing as "-l libncurses.so" or "-l