Skip Menu |

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 51724
Status: rejected
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: kishorepro [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6
Date: Thu, 19 Nov 2009 17:25:23 +0530
To: bug-Math-BigInt [...] rt.cpan.org
From: kishore reddy <kishorepro [...] gmail.com>
perl setup, includes following things: - installed "Net::SSH::Perl" and other dependency modules(Crypt-DES-2.05.tar, Crypt-DH-0.06.tar,Crypt-DSA-1.16.tar,Crypt-RSA-1.57.tar,Digest-HMAC-1.01.tar,Digest-SHA1-2.12.tar, Math-BigInt-1.87.tar,Math-GMP-2.04.tar,Math-Pari-2.01080602.tar,pari-2.3.4.tar,gmp-4.3.1). - executing following script. --------------- use Net::SSH::Perl; my $arguments = {}; $arguments->{HOST}="172.30.0.135"; my $USER = "root"; my $PASSWORD = "narusqa"; my $file="/opt/plc2/tmp/pcap.csh"; my $msg; my $ssh = Net::SSH::Perl->new($arguments->{HOST}); $ssh->debug($msg); $ssh->login($USER, $PASSWORD); my ($stdout, $stderr,$exit); $file = "/bin/bash $file"; ($stdout, $stderr,$exit) = $ssh->cmd($file); ---------------------- error message as follows Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6 Regards kishore
Subject: Re: [rt.cpan.org #51724] Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6
Date: Thu, 19 Nov 2009 09:55:14 -0800
To: bug-Math-BigInt [...] rt.cpan.org
From: Jonathan Leto <jonathan [...] leto.net>
Howdy, Can you verify that the problem still occurs with the latest Math::BigInt, 1.89 ? Also, the output of the following commands would be useful: perl -V gcc --version (or which ever compiler you are using) uname -a Cheers, Duke On Thu, Nov 19, 2009 at 3:56 AM, kishore reddy via RT <bug-Math-BigInt@rt.cpan.org> wrote: Show quoted text
> Thu Nov 19 06:56:02 2009: Request 51724 was acted upon. > Transaction: Ticket created by kishorepro@gmail.com >       Queue: Math-BigInt >     Subject: Math::BigInt: couldn't load specified math lib(s), fallback to  Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6 >   Broken in: (no value) >    Severity: (no value) >       Owner: Nobody >  Requestors: kishorepro@gmail.com >      Status: new >  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=51724 > > > > perl setup, includes following things: > - installed "Net::SSH::Perl" and other dependency > modules(Crypt-DES-2.05.tar, > Crypt-DH-0.06.tar,Crypt-DSA-1.16.tar,Crypt-RSA-1.57.tar,Digest-HMAC-1.01.tar,Digest-SHA1-2.12.tar, > Math-BigInt-1.87.tar,Math-GMP-2.04.tar,Math-Pari-2.01080602.tar,pari-2.3.4.tar,gmp-4.3.1). > - executing following script. > --------------- > use Net::SSH::Perl; > > my $arguments = {}; > $arguments->{HOST}="172.30.0.135"; > my $USER = "root"; > my $PASSWORD = "narusqa"; > my $file="/opt/plc2/tmp/pcap.csh"; > my $msg; > > my $ssh = Net::SSH::Perl->new($arguments->{HOST}); > $ssh->debug($msg); > $ssh->login($USER, $PASSWORD); >  my ($stdout, $stderr,$exit); > $file = "/bin/bash $file"; > ($stdout, $stderr,$exit) = $ssh->cmd($file); > ---------------------- > error message as follows > Math::BigInt: couldn't load specified math lib(s), fallback to > Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6 > > Regards > kishore > > > perl setup, includes following things: > - installed "Net::SSH::Perl" and other dependency modules(Crypt-DES-2.05.tar, Crypt-DH-0.06.tar,Crypt-DSA-1.16.tar,Crypt-RSA-1.57.tar,Digest-HMAC-1.01.tar,Digest-SHA1-2.12.tar, Math-BigInt-1.87.tar,Math-GMP-2.04.tar,Math-Pari-2.01080602.tar,pari-2.3.4.tar,gmp-4.3.1). > - executing following script. > --------------- > use Net::SSH::Perl; > > my $arguments = {}; > $arguments->{HOST}="172.30.0.135"; > my $USER = "root"; > my $PASSWORD = "narusqa"; > my $file="/opt/plc2/tmp/pcap.csh"; > my $msg; > > my $ssh = Net::SSH::Perl->new($arguments->{HOST}); > $ssh->debug($msg); > $ssh->login($USER, $PASSWORD); >  my ($stdout, $stderr,$exit); > $file = "/bin/bash $file"; > ($stdout, $stderr,$exit) = $ssh->cmd($file); > ---------------------- > error message as follows > Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6 > > Regards > kishore > >
-- Jonathan "Duke" Leto jonathan@leto.net http://leto.net
Subject: Re: [rt.cpan.org #51724] Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6
Date: Fri, 20 Nov 2009 11:16:30 +0530
To: bug-Math-BigInt [...] rt.cpan.org
From: kishore reddy <kishorepro [...] gmail.com>
Hello Duke, I dir try with latest version<1.89> also. Same issue is prevailing with the version 1.89. I am sending information for commands u mentioned. - perl -V ---- Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.9-78.0.1.elsmp, archname=x86_64-linux-thread-multi uname='linux hs20-bc1-7.build.redhat.com 2.6.9-78.0.1.elsmp #1 smp tue jul 22 18:01:05 edt 2008 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.8 -Dsitelib=/usr/lib/perl5/site_perl/5.8.8 -Dvendorlib=/usr/lib/perl5/vendor_perl/5.8.8 -Darchlib=/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi -Dsitearch=/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi -Darchname=x86_64-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 -Dscriptdir=/usr/bin' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.2 20071124 (Red Hat 4.1.2-41)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags ='' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Sep 24 2008 11:41:17 @INC: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . --------- gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------------- uname -a Linux inqa755-3 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux -------------- Regards kishore On Thu, Nov 19, 2009 at 11:25 PM, Jonathan Leto via RT < bug-Math-BigInt@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=51724 > > > Howdy, > > Can you verify that the problem still occurs with the latest > Math::BigInt, 1.89 ? Also, the output of the following commands would > be useful: > > perl -V > gcc --version (or which ever compiler you are using) > uname -a > > Cheers, > > Duke > > > On Thu, Nov 19, 2009 at 3:56 AM, kishore reddy via RT > <bug-Math-BigInt@rt.cpan.org> wrote:
> > Thu Nov 19 06:56:02 2009: Request 51724 was acted upon. > > Transaction: Ticket created by kishorepro@gmail.com > > Queue: Math-BigInt > > Subject: Math::BigInt: couldn't load specified math lib(s), fallback
> to Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6
> > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: kishorepro@gmail.com > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=51724 > > > > > > > perl setup, includes following things: > > - installed "Net::SSH::Perl" and other dependency > > modules(Crypt-DES-2.05.tar, > >
> Crypt-DH-0.06.tar,Crypt-DSA-1.16.tar,Crypt-RSA-1.57.tar,Digest-HMAC-1.01.tar,Digest-SHA1-2.12.tar,
> >
> Math-BigInt-1.87.tar,Math-GMP-2.04.tar,Math-Pari-2.01080602.tar,pari-2.3.4.tar,gmp-4.3.1).
> > - executing following script. > > --------------- > > use Net::SSH::Perl; > > > > my $arguments = {}; > > $arguments->{HOST}="172.30.0.135"; > > my $USER = "root"; > > my $PASSWORD = "narusqa"; > > my $file="/opt/plc2/tmp/pcap.csh"; > > my $msg; > > > > my $ssh = Net::SSH::Perl->new($arguments->{HOST}); > > $ssh->debug($msg); > > $ssh->login($USER, $PASSWORD); > > my ($stdout, $stderr,$exit); > > $file = "/bin/bash $file"; > > ($stdout, $stderr,$exit) = $ssh->cmd($file); > > ---------------------- > > error message as follows > > Math::BigInt: couldn't load specified math lib(s), fallback to > > Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6 > > > > Regards > > kishore > > > > > > perl setup, includes following things: > > - installed "Net::SSH::Perl" and other dependency
> modules(Crypt-DES-2.05.tar, > Crypt-DH-0.06.tar,Crypt-DSA-1.16.tar,Crypt-RSA-1.57.tar,Digest-HMAC-1.01.tar,Digest-SHA1-2.12.tar, > Math-BigInt-1.87.tar,Math-GMP-2.04.tar,Math-Pari-2.01080602.tar,pari-2.3.4.tar,gmp-4.3.1).
> > - executing following script. > > --------------- > > use Net::SSH::Perl; > > > > my $arguments = {}; > > $arguments->{HOST}="172.30.0.135"; > > my $USER = "root"; > > my $PASSWORD = "narusqa"; > > my $file="/opt/plc2/tmp/pcap.csh"; > > my $msg; > > > > my $ssh = Net::SSH::Perl->new($arguments->{HOST}); > > $ssh->debug($msg); > > $ssh->login($USER, $PASSWORD); > > my ($stdout, $stderr,$exit); > > $file = "/bin/bash $file"; > > ($stdout, $stderr,$exit) = $ssh->cmd($file); > > ---------------------- > > error message as follows > > Math::BigInt: couldn't load specified math lib(s), fallback to
> Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm line 6
> > > > Regards > > kishore > > > >
> > > > -- > Jonathan "Duke" Leto > jonathan@leto.net > http://leto.net > >
RT-Send-CC: jonathan [...] leto.net
This is not a bug. The source lies in Crypt::DH, as indicated by the error message: Show quoted text
> Math::BigInt: couldn't load specified math lib(s), fallback to > Math::BigInt::Calc at /usr/lib/perl5/site_perl/5.8.8/Crypt/DH.pm
Crypt/DH.pm contains the line use Math::BigInt lib => "GMP,Pari"; which causes Math::BigInt to look for Math::BigInt::GMP. If it can't find it, it looks for Math::BigInt::Pari. If it can't find that either it will fall back to Math::BigInt::Calc. To get rid of the warning, install Math::BigInt::GMP or Math::BigInt::Pari.