in reply to Building Net::SFTP on Solaris problem.
You have a bad binary file so you will need to get a new copy of the GMP source and then attempt to re-compile. I am not sure exactly what the issues is but I had an issue just like this and it was just a bad source tree.
-sunadmn
USE PERL
-sunadmn
USE PERL
In Section
Seekers of Perl Wisdom