Hi, I've recently started to do some perl development, mostly scripts to automate some tasks on servers, as servers don't have access to Internet and some scripts use a handful of CPAN modules I started to deploy them as compiled binaries using pp from PAR::Packer.
I was working on Debian wheezy without problem, but I just changed to jessie, problem is that now everything I compiled on my machine won't run on servers because they are linked to glibc 2.16 and servers (redhat 5 and centos 6 boxes) have glibc 2.14.
I did read the warning from PAR to not use bleeding edge OS, but I think I didn't understand what they meant until now... Anyways, is there a way to compile perl code using pp or other similar tool but linking to lower version of system's glibc. Right now I am running a virtual machine with older debian and compile everything there but it is kinda slow.
P.S.: Maybe my approach is all wrong, so suggestions on what else would be a good idea to run perl scripts on servers without all the hassle of installing cpan modules (no internet access from servers) and their dependencies are welcome...
Thanks!
UPDATE: Thanks for your replies, I probably will try to use CPAN with local install in the near future. In the mean while tried to compile another version of GLIBC but I failed miserably, I could found a workaround using debootstrap to install squeeze and then chroot to it, and compile from the chroot, maybe is not ideal but is faster than running a full virtual machine. Regards!!!
In reply to PAR::Packer link to lower glibc version by hep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |