I have successfully compiled libbsh2-0.18 on a fresh fedora 8 installation (openssl 0.9.8b-17 comes pre-installed). I then successfully installed Net::SSH2 via CPAN.
When I run perl -e 'use Net::SSH2;' I get the following message:
Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Net/SSH2/SSH2.so' for module Net::SSH2: libssh2.so.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm line 70. at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Net/SSH2.pm line 466
I found the following files on my system: /usr/local/lib/libssh2.so, /usr/local/lib/libssh2.so.1.0.0, /usr/local/lib/libssh2.so.1
How do I tell Net::SSH2 where to find the shared objects?
Getting Net::SSH2 working is very important to me. Thanks in advance! George