|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^2: buildpacked.pl - Pack script and dependencies into self-extracting bash scriptby jbryan (Acolyte) |
| on Aug 21, 2012 at 20:06 UTC ( #988844=note: print w/ replies, xml ) | Need Help?? |
|
Ahh, so is that different than what the following does:
Neither of the resulting files would run cross-platform (e.g. when copied from 64bit laptop to 64bit machine, both running CentOS, or the other way around - 32bit to 64bit.) Even though no .so/etc were copied, the header on the file that PAR added require'd DynaLoader, which caused it to fail with an error like Undefined subroutine &DynaLoader::bootstrap called at /usr/lib64/perl5/XSLoader.pm line 111. (This is from a file generated with pp on my 64bit laptop last night and ran on my 32bit desktop here at the office.) I spent several hours googling and trying various options, though I admit I didn't try that -X option (must have glossed over that thru my sleep-deprived hazy vision!)
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||