|
In addition to the dynamic libraries showed in ldd result, Perl also dynamically load libraries and modules at runtime.
You must make sure a command like following works in your chroot jail
chroot /chroot perl <your script>
If you cannot tell which library is missing from the result, you have to analyze results of "strace perl <your script>" running inside the jail and in mornal environment.
You can try "chroot.sh perl", it will try to setup a perl chroot environment by copying Perl in the Linux distribution.
|