Reinstall libssh2. On the configure line, make sure you use --with-openssl=<path-to-openssl> and --with-gnu-ld, then run the normal install. After make install, run /sbin/ldconfig /usr/local/lib. On my system, libssh2 installed libssh2.so in /usr/local/lib. Next, in the cpan shell, run "force install Net::SSH2".