BTW, I'm still seeing this... I'm trying to get Net::SFTP working, which is calling Net::SSH::Perl which is using Math::BigInt which is using Math::Pari. Here is the whole caller trace (caught using a $SIG{__DIE__}):
'__ANON__ called at Math/Pari.pm line 1148',
'(eval) called at Math/Pari.pm line 1148',
'can called at Math/BigInt.pm line 2559',
'objectify called at Math/BigInt.pm line 1757',
'bmod called at Math/BigInt.pm line 114',
'__ANON__ called at Net/SSH/Perl/Util/SSH2MP.pm line 28',
'mp2bin called at Net/SSH/Perl/Buffer.pm line 173',
'_put_mp_int_ssh2 called at Net/SSH/Perl/Buffer.pm line 138'
+,
'put_mp_int called at Net/SSH/Perl/Kex.pm line 179',
'derive_key called at Net/SSH/Perl/Kex.pm line 163',
'derive_keys called at Net/SSH/Perl/Kex/DH1.pm line 76',
'exchange called at Net/SSH/Perl/Kex.pm line 100',
'exchange called at Net/SSH/Perl/SSH2.pm line 92',
'_login called at Net/SSH/Perl/SSH2.pm line 69',
'login called at Net/SFTP.pm line 62',
'init called at Net/SFTP.pm line 24',
'new called at -e line 1'
Yes, the line it is dying on is this one:
sub can {
my ($obj, $meth) = (@_);
my $f = $obj->SUPER::can($meth);
return $f if defined $f;
# There is no "usual" way to get the function; try loadPari()
$f = eval { loadPari($meth) }; # <-- THIS LINE
return $f if defined $f;
return;
}
So, I'm guessing it's when the loadPari function is getting called. This function must be defined in the Dynaloader (Pari.bs or Pari.so files). I know Perl ok, but when it hits this compiled stuff I don't know how to proceed.
By deduction I assume it's trying to load some C-defined function that isn't present. Now, the as_number() function has been defined in the Math::BigInt since v1.22 (2001-04-05), so I think it's not likely that it's just a newly added function and I don't have the newest function... So I'm thinking I don't have another lib that these .so and .bs files need? libpari?
I'll keep looking.
(And BTW, you guys were unduely harsh to this guy who seems to have been doing his best to learn... "call to the closest available guru" sheesh...)