Hello, I've built a perl-5.8.0 from source on my RH7.3 with dynamic library (libperl.so) support. The problem is that on systems without perl installed when I run the executable produced by it I get an error:
./1.bin: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory The solution is to add '.' to the value of environment variable LD_LIBRARY_PATH (it doesn't include '.' most of the times for security reasons of course). After manually adding current directory to $LD_LIBRARY_PATH executable works fine. It seems PAR booting code should add value of $PAR_TEMP (or in the worst case - '.' instead - but that's very insecure!) when trying to run executable from the archive. But this problem is of course specific to the case when perl is build with libperl.so -- Best regards, -Vlad
