Thanks! I'll try to re-install some modules on machine B.
Two quick questions:
1. "use lib $my_perl_dir" shoul be placed in my perl script, right?
2. Do you think just move the following gmp files should be enough to use gmp library?
libgmp.a libgmp.so libgmp.so.3.4.1
libgmp.la libgmp.so.3