Subject: | Executables built with pp require perl56.dll to run |
PAR-0.69
I used the pre-built .par for Perl 5.6.1 on Windows from
http://www.cpan.org/modules/by-module/PAR/AUTRIJUS/PAR-0.69-MSWin32-x86-multi-thread-5.6.1.par
OS is Windows2000
Perl is v5.6.1 (Build 633 from ActiveState)
If I generate a (supposedly) self-contained executable with "pp -o ..."
and run it on a machine with no Perl whatsoever installed, it complains
about missing perl56.dll. Apparently parl.exe has the same problem.
I tried the slightly older PPM2 for PAR from the ActiveState repository,
same symptom there.
BTW, this problem isn't specific to Windows. I built PAR-0.69 from
source on Debian sid for i386. Debian sid has Perl 5.8.0 (multithread).
Both parl and any executable generated by pp are linked against
libperl56.so as shown by ldd (hence won't work on a machine
without Perl installed). Note that on Debian the perl binary itself
is statically linked gainst libperl, but they also provide a shared
libperlXX.so (and Config.pm reflects the latter build option).
Cheers, Roderich