in reply to Re: Net::SSH::Perl script in windows - getpwuid is unimplemented
in thread Net::SSH::Perl script in windows - getpwuid is unimplemented

Hello I am getting error while running window.
Math::Pari not locatable. C:\Users\a-mrayappa\Desktop>test.pl CHE3-W01145: Reading configuration data /.ssh/config CHE3-W01145: Reading configuration data /etc/ssh_config CHE3-W01145: Connecting to apm, port 22. CHE3-W01145: Socket created, turning on blocking... CHE3-W01145: Remote version string: SSH-2.0-OpenSSH_4.3 CHE3-W01145: Remote protocol version 2.0, remote software version Open +SSH_4.3 Can't locate loadable object for module Math::Pari in @INC (@INC conta +ins: C:/Pe rl64/site/lib C:/Perl64/lib .) at C:/Perl64/lib/Net/SSH/Perl/Util/SSH2 +MP.pm line 6. Compilation failed in require at C:/Perl64/lib/Net/SSH/Perl/Util/SSH2M +P.pm line 6. BEGIN failed--compilation aborted at C:/Perl64/lib/Net/SSH/Perl/Util/S +SH2MP.pm l ine 6. Compilation failed in require at C:/Perl64/lib/Net/SSH/Perl/Util.pm li +ne 56. BEGIN failed--compilation aborted at C:/Perl64/lib/Net/SSH/Perl/Kex/DH +1.pm line 10. Compilation failed in require at C:/Perl64/lib/Net/SSH/Perl/Kex.pm lin +e 6. BEGIN failed--compilation aborted at C:/Perl64/lib/Net/SSH/Perl/Kex.pm + line 6. Compilation failed in require at C:/Perl64/lib/Net/SSH/Perl/SSH2.pm li +ne 6. BEGIN failed--compilation aborted at C:/Perl64/lib/Net/SSH/Perl/SSH2.p +m line 6.

Code tags added by GrandFather

  • Comment on Re^2: Net::SSH::Perl script in windows - getpwuid is unimplemented
  • Download Code

Replies are listed 'Best First'.
Re^3: Net::SSH::Perl script in windows - getpwuid is unimplemented
by salva (Canon) on Aug 19, 2015 at 09:07 UTC
    Install Math::Pari?

    Anyway, nowadays you should probably be using Net::SSH2. If you are using Strawberry Perl, it is already included. Check also Net::SSH::Any.