On Tue, Apr 28, 2009 at 11:01 PM, SCHWARTZKOPFF, Michael, Dr. (Extern) < michael.schwartzko...@mtu.de> wrote:
> > I only have one perl installed rpm -qa | grep perl gives: > perl-5.8.8-14.7 > My system is a SuSE Linux Destop 10.1 > find /usr -name "perl" 2>/dev/null > /usr/bin/perl > > [snip] > > > Characteristics of this binary (from libperl): > Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES > Built under linux > Compiled at Mar 17 2005 09:47:26 > @INC: > /yaprod/freeware/Linux_x86_64//lib/perl5/5.8.4/x86_64-linux > /yaprod/freeware/Linux_x86_64//lib/perl5/5.8.4 > /yaprod/freeware/Linux_x86_64//lib/perl5/5.8.4/x86_64-linux/x86_64-linux > /yaprod/freeware/Linux_x86_64//lib/perl5/5.8.4/x86_64-linux > /yaprod/freeware/Linux_x86_64//lib/perl5/5.8.4/x86_64-linux > > > It looks to me that you have 2 perls - a threaded perl in /usr/bin/, and an unthreaded perl in /yaprod/freeware/. It also looks to me that the Math::GMP that you're trying to use was built for (and by) the perl in /usr/bin/. If you're using the perl in /yaprod/freeware/, then you need to use a Math::GMP that has been built for (and by) the perl in / yaprod/freeware/. If '/usr/bin/perl -V' and 'perl -V' produce different results, then we're defnitely looking at 2 different perl installations. Another alternative would be to use Net::SSH2 which uses libssh2. But again, the perl that uses the module needs to be the perl that also built the module. Cheers, Rob