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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.