LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 09-03-2007, 08:44 PM   #1
2007fld
Member
 
Registered: Mar 2007
Distribution: FD4,6
Posts: 52

Rep: Reputation: 15
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!
 
Old 09-04-2007, 09:47 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
If you don't get an answer soon, try asking here: http://www.perlmonks.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl can't find a module that exists Poetics Programming 2 08-02-2007 05:14 PM
Perl module Compress::Zlib installed but perl not detecting it danran Programming 0 05-03-2007 02:50 PM
Perl datescript Issue, missing perl module? stefaandk Programming 5 02-19-2006 11:55 PM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 06:37 PM
Can't find a module for perl for bar graphs paradoxlight Programming 4 12-15-2002 12:20 PM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration