The Agony of GMP

[email protected] (Dennis Putnam)
Newsgroups perl.macosx
Message-ID <[email protected]>
I am trying to install Net::SFTP and it has been a major trial of  
patience. I finally get it working on one of my servers and now am  
trying to get it on another. Unfortunately I have run into a brick  
wall on the 2nd server (both are running 10.4.10) with no clue why  
they are different. The crux of the problem is that I cannot install  
Math::BigInt::GMP on this server. It appears there is a problem with  
the installer but yet this did not happen on the other server.

They key on the other server was to install GMP using macports 'port'  
command. I did the same on this server and all seemed to go well  
until I tried to install BigInt. I am getting the following:

Running make for C/CH/CHIPT/Math-GMP-2.04.tar.gz
   Has already been unwrapped into directory /Users/admin/.cpan/build/ 
Math-GMP-2.04-nSlAjY
   Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/gmppm......Can't load '/Users/admin/.cpan/build/Math-GMP-2.04- 
nSlAjY/blib/arch/auto/Math/GMP/GMP.bundle' for module Math::GMP:  
dlopen(/Users/admin/.cpan/build/Math-GMP-2.04-nSlAjY/blib/arch/auto/ 
Math/GMP/GMP.bundle, 2): Symbol not found: ___gmpz_mul_2exp
   Referenced from: /Users/admin/.cpan/build/Math-GMP-2.04-nSlAjY/ 
blib/arch/auto/Math/GMP/GMP.bundle
   Expected in: dynamic lookup
at t/gmppm.t line 7
Compilation failed in require at t/gmppm.t line 7.
BEGIN failed--compilation aborted at t/gmppm.t line 7.
t/gmppm...... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run

Can someone help me out with this? TIA.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.