Could't find gmp library after moving Perl Module
I was able to install GMP library, Math::GMP, Math::BigINT and Net::SFTP on a Solaris machine A. Then I tar-ed the whole Perl directory and moved it to a Solaris machine B. I also moved *libgmp* files (libgmp.a libgmp.la libgmp.so libgmp.so.3 libgmp.so.3.4.1) under /usr/local/library to the machine B, same path.
On machine B, I got error message: "Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at /edi/perl/lib/site_perl/5.8.0/Crypt/DH.pm line 6 " I recall when I installed Math::GMP and Math::BigInt on machine A, I specified the lib path = "/usr/local/lib" in Makefile.PL, otherwise, "No library found for -lgmp". What caused machine B fail to find the gmp library? (P.S. Since I’m not a su on machine B, I can not install perl module.) Thanks so much for any suggestions! |
If you don't get an answer soon, try asking here: http://www.perlmonks.org/
|
All times are GMT -5. The time now is 11:35 AM. |