On Thu, 25 Feb 2010 17:27:25 +1000, Shlomi Fish <shlo...@iglu.org.il> wrote:

Hi Dave!

Hi Shlomi!

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

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?

Thanks again!

Dave


Regards,

        Shlomi Fish


--
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