Recently I used the ports collection to install Net::SSH:Perl. I had a few issues since I tried installing from source originally (dumb mistake) then had issues with my system time being way off. Either way I believe I got everything to working correctly, but still get this error when calling the login routine:
Full disclosure, I posted this on dev shed perl, but not getting any help. I'm thinking this more of a installation issues. Any suggestions on how to test or debug greatly appreciated.
Thanks!
Code:
#!/usr/bin/perl5
use Net::SSH::Perl;
$ssh = Net::SSH::Perl->new("*******.com");
$ssh->login("******", "********");
#my($stdout, $stderr, $exit) = $ssh->cmd("ls -al");
Code:
john@sporkit.com-> ./ssh_web_sync.pl
/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Math/BigInt/GMP/GMP.so: Undefined symbol "__gmpz_init_set_str"
Full disclosure, I posted this on dev shed perl, but not getting any help. I'm thinking this more of a installation issues. Any suggestions on how to test or debug greatly appreciated.
Thanks!