in reply to Re^2: Net::SFTP and the GMP pre-req.
in thread Net::SFTP and the GMP pre-req.

How do you expect us to discern the nature of the problem between the two machines from the information you've given us? Really - do you expect me to bring out the chicken bones, throw them on a printout of your post and then tell you that the I-Ching points to line 23 in your code? I can do that, of course, and maybe it helps you to know that the root of your problem lies in line 23.

Debugging is more craft than art, and I've already told you what you need to do to isolate the cause and eliminate the error. If you don't know who installed the GMP library, or whether the machines should even be identical or where files are on the machines, I can only recommend that you summon the administrator of the machines by whatever ritual is customary and beseech him to investigate, as spawn of his parent-hive did for your parents and spawn of his grand-hive did for your grandparents, since eons ago.

You can also ask Perl as to how it is configured:

perl -V

This will tell you lots and lots about the Perl on each machine. If these things differ, you have one more point of attack. Also, maybe consider checking that the installed versions of GMP are identical:

perl -MMath::GMP -e "die $Math::GMP::VERSION"