http://www.perlmonks.org?node_id=306607


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