Subject: | Math::BigInt::GMP is missing method '_one' |
Hi there,
get this:
1:root@db****2:/tmp # ./ssh.pl
Math::BigInt::GMP is missing method '_one'
at /applications/esa/perllib/Crypt/DSA/KeyChain.pm line 6
Cannot load outdated Math::BigInt::GMP v1.18, please upgrade
at /applications/esa/perllib/Crypt/DSA/KeyChain.pm line 6
1:root@db****2:/tmp #
Perl 5.8.2 64bit
AIX 5.3
Math::BigInt 1.77
Math::BigInt:GMP 1.18
I have seen similar post from may form rahed and TELS' reply to open a
bug. So I do.
Very complex environment here, servers in data center w/o internet
access, so we had to install all needed modules manually. Today I
installed Math::BigInt::GMP 1.18 and Math::BigInt 1.77 (as required).
While script ssh.pl runs on development server, after deployment of
application to test server (modules deployed in own folder perllib) I
get this strange message.
!/applications/esa/perl
#
#
BEGIN {
unshift(@INC,
'/applications/esa/perllib',
'/applications/esa/perllib/aix-thread-multi-64all');
}
use strict;
use Net::SSH::Perl;
#use POSIX;
#main
my $ssh = Net::SSH::Perl->new("***.***.***.***.com",
(debug => 0, protocol => 2,
identity_files => ["$ENV{HOME}/.ssh/id_dsa"]));
if(!defined($ssh))
{
print "FATA kann SSH object nicht generieren [$!]" ;
}
elsif (!$ssh->login("kestler"))
{
print "FATA kann den SSH connect nicht aktivieren: Login
Fehler";
}
else
{
print "INFO SSH-Verbindung ok";
}
exit(0);