Net::SSH::Perl on tru64

J

jrt409

Hello,
Having some difficulties in trying to get Net::SSH::perl
working on tru64.

I have the following basic script.....

#!/usr/bin/perl -w

use Net::SSH::perl;

my $ssh = Net::SSH::perl->new("<hostname");

$ssh->login("root", "<passwd>");

print $ssh->cmd("df -k");


which when executed i get the following output....


54086:/usr/bin/perl: /sbin/loader: Fatal Error: call to unresolved
symbol from
/usr/lib/perl-5.6.0/lib/site_perl/5.6.0/alpha-dec_osf/auto/Math/GMP/GMP.so
(pc=0x300030028bc)

The strange thing is that all the associated perl modules ( and the gmp
library for that matter) have been compiled (without error) locally so
im at a loss to explain what im getting symbol reference errors.

Thanks in advance for any responses
 
A

Anno Siegel

Hello,
Having some difficulties in trying to get Net::SSH::perl
working on tru64.

I have the following basic script.....

#!/usr/bin/perl -w

use Net::SSH::perl;

my $ssh = Net::SSH::perl->new("<hostname");

$ssh->login("root", "<passwd>");

print $ssh->cmd("df -k");


which when executed i get the following output....


54086:/usr/bin/perl: /sbin/loader: Fatal Error: call to unresolved
symbol from
/usr/lib/perl-5.6.0/lib/site_perl/5.6.0/alpha-dec_osf/auto/Math/GMP/GMP.so
(pc=0x300030028bc)

The strange thing is that all the associated perl modules ( and the gmp
library for that matter) have been compiled (without error) locally so
im at a loss to explain what im getting symbol reference errors.

I don't know why you are getting the error, but you are misinterpreting
it.

Despite the word "symbol" in the message, the error isn't about symbolic
references. It is not a Perl error at all but comes from the (dynamic)
system loader. The fact that all compilations went well doesn't mean
much either way. It may be that something wasn't compiled that should
have been, or that the wrong version of something was compiled, or that
something was compiled with the wrong options, or that some library isn't
installed, or wrongly installed.

Anno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top