CPAN::Forum
Net-SSH2 - Net-SSH2-0.18 Install Error
| Posted on Tue Sep 2 05:07:37 2008 by madmick |
| Net-SSH2-0.18 Install Error |
|
I am having trouble installing Net-SSH2-0.18 to use SFTP on a system with
Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
Kernel 2.6.9-67.ELsmp on an i686
perl, v5.8.5 built for i386-linux-thread-multi
I installed the prequisites without issue:
openssl-0.9.8h
libssh2-0.18
However I have not be able to determine the cause the below error in make test of Net-SSH2-0.18.
* Any Ideas would really be appreciated !
perl Makefile.PL
Net::SSH2: using library -L/usr/local/lib -lssh2 and include path -I/usr/local/i
nclude.
Writing Makefile for Net::SSH2
make
gcc -c -I/usr/local/include -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-str
ict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=
64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION
=\"0.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-
multi/CORE" SSH2.c
Running Mkbootstrap for Net::SSH2 ()
chmod 644 SSH2.bs
rm -f blib/arch/auto/Net/SSH2/SSH2.so
gcc -shared -L/usr/local/lib SSH2.o -o blib/arch/auto/Net/SSH2/SSH2.so -L/us
r/local/lib -lssh2
chmod 755 blib/arch/auto/Net/SSH2/SSH2.so
cp SSH2.bs blib/arch/auto/Net/SSH2/SSH2.bs
chmod 644 blib/arch/auto/Net/SSH2/SSH2.bs
Manifying blib/man3/Net::SSH2::File.3pm
Manifying blib/man3/Net::SSH2::PublicKey.3pm
Manifying blib/man3/Net::SSH2::Dir.3pm
Manifying blib/man3/Net::SSH2::SFTP.3pm
Manifying blib/man3/Net::SSH2::Listener.3pm
Manifying blib/man3/Net::SSH2::Channel.3pm
Manifying blib/man3/Net::SSH2.3pm
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/Net-SSH2....# Failed test (t/Net-SSH2.t at line 19)
# Tried to use 'Net::SSH2'.
# Error: Can't load '/home/ftpclient/Net-SSH2-0.18/blib/arch/auto/Net/SSH2/
SSH2.so' for module Net::SSH2: libssh2.so.1: cannot open shared object file: No
such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoade
r.pm line 230.
# at (eval 1) line 2
# Compilation failed in require at (eval 1) line 2.
t/Net-SSH2....NOK 1&Net::SSH2::constant not defined at t/Net-SSH2.t line 22
# Looks like you planned 72 tests but only ran 1.
# Looks like your test died just after 1.
t/Net-SSH2....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-72
Failed 72/72 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/Net-SSH2.t 255 65280 72 143 198.61% 1-72
Failed 1/1 test scripts, 0.00% okay. 72/72 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
|
| Write a response |
(2)
]