On Thursday 25 Feb 2010 10:27:28 Dave Tang wrote:
> On Thu, 25 Feb 2010 17:27:25 +1000, Shlomi Fish <shlo...@iglu.org.il>
> 
> wrote:
> > Hi Dave!
> 
> Hi Shlomi!
> 

Hi Dave.

> Thank you for your reply.
> 
> [snip]
> 
> >> I'm trying to use Net::SSH::Perl, but it requires the Math::GMP module.
> >> I
> >> have installed a GMP library (required for Math::GMP) but when I try to
> >> install Math::GMP I get an error. Here's the transcript. May someone
> >> shed
> >> some light?
> > 
> > First of all - what is your Operating System, Linux/etc. Distribution and
> > version. There may be an easier way to install all this there which also
> > won't
> > pollute your filesystem.
> 
> Linux version 2.6.18-92.1.17.el5 (brewbuil...@hs20-bc1-7.build.redhat.com)
> (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Wed Oct 22 04:19:38
> EDT 2008
> 
> and
> 
> This is perl, v5.8.8 built for x86_64-linux-thread-multi
> 

OK, seems like it's Red Hat Enterprise Linux 5 / CentOS 5. You can find a 
package for Net-SSH-Perl for them on the DAG package repository:

http://dag.wieers.com/rpm/packages/perl-Net-SSH-Perl/

You should install from it.

> > Now on to your problem:
> [snip]
> 
> >> t/01_gmppm.t ....... Can't load
> >> '/root/temp/Math-GMP-2.06/blib/arch/auto/Math/GMP/GMP.so' for module
> >> Math::GMP: libgmp.so.10: cannot open shared object file: No such file or
> >> directory at
> > 
> > Looks like it cannot find a file called libgmp.so.10 - maybe it's not in
> > LD_LIBRARY_PATH or it's a dangling symbolic link.
> 
> I found this file in the installation directory of gmp-5.0.1, which is the
> GMP library I had to install for Math::GMP.
> 
> Could this also mean that I didn't install the GMP library correctly? If
> it is a path issue, how would I go about it?

You should install GMP using yum: "yum install gmp-devel" or something along 
these lines. But installing the perl-Net-SSH-Perl should do it for you.

Regards,

        Shlomi Fish

> 
> Thanks again!
> 

You're welcome.

> Dave
> 
> > Regards,
> > 
> >     Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Understand what Open Source is - http://shlom.in/oss-fs

Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to