Symbol not found: ___gmpz_init_set_str That looks quite odd to me. Whilst the gmp library defines
mpz_init_set_str it does *not*, afaik, define
gmpz_init_set_str - nor, to the best of my knowledge, has it ever done so.
My guess is that the problem therefore might lie with the Math::BigInt::GMP module. Are they the same version of that module in both cases ? If so, where does Math::BigInt::GMP find
__gmpz_init_set_str on the machine where things work fine ?
Cheers,
Rob
Update: Hmmm ... in gmp.h:
#define mpz_init_set_str __gmpz_init_set_str
I'm now not at all sure about what's going on - not that I ever really was :-)
It still looks odd to me that you're getting an error for that particular symbol. Does Math::BigInt::GMP explicitly call
__gmpz_init_set_str ? If so, shouldn't it be calling
mpz_init_set_str instead ?
Is the gmp library on the problem machine functional ? (Can you run C programs that use it, and can you build Math::GMP against it ?)
Btw, I would also prefer to use Net::SSH2, as suggested elsewhere in this thread.