Copying libperl.so doesn't seem right, given that it's already present in the PAR.
Your're absolutely right, it shouldn't be needed.
copy the executable to a computer with RHEL 3, it will not run, complaining that libperl.so is missing.
OK, given your experiment with LD_LIBRARY_PATH and LD_PRELOAD: what does "readelf -d" (or the "Dynamic section" in the output of "objdump -ax" if you don't have readelf) say when run on the executable that is unpacked into /tmp/par-dw/cache-XXXXX (_not_ on dw.exec itself)? This executable is actually a special purpose perl interpreter, supposedly linked against a shared libperl. Let's see whether there is really a line like 0x00000001 (NEEDED) Shared library: [libperl.so.5.8] and what is the exact version number after libperl.so... Also, is there an RPATH line (are you runnig the executable setuid)? Cheers, Roderich
