LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Could't find gmp library after moving Perl Module (https://www.linuxquestions.org/questions/programming-9/couldt-find-gmp-library-after-moving-perl-module-581972/)

2007fld 09-03-2007 07:44 PM

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!

chrism01 09-04-2007 08:47 PM

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.