Re: [Ssh-sftp-perl-users] Error installing Net::SSH2
Brought to you by:
dbrobins
From: David R. <dbr...@cp...> - 2007-02-09 03:28:02
|
On Thursday February 8, 2007 12:49, Charles S Brown wrote: > Installing via cpan. Everything looks fine until it attempts to make > test. > - - - - - - > Running 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.... > t/Net-SSH2....NOK 1/72# Failed test 'use > Net::SSH2;' > # at t/Net-SSH2.t line 19. > # Tried to use 'Net::SSH2'. > # Error: Can't load '/.cpan/build/Net-SSH2-0.09/blib/arch/auto/ > Net/SSH2/SSH2.so' for module Net::SSH2: ld.so.1: perl: fatal: > relocation error: file /usr/local/lib/libssh2.so: symbol > EVP_aes_192_cbc: referenced symbol not found at /usr/local/lib/ > perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230. > # at (eval 3) line 2 > - - - - - - > > Usually, I can decipher some clue as to why a module isn't installing > and go hunting for an answer. However, i can't seem to figure out > which way to go on this one. > > If you have any suggestions, they would be greatly appreciated. This appears to be a libssh2 issue and not specifically Net::SSH2; the perl module is finding libssh2 but libssh2 can't find some of its symbols. How did you build libssh2? Did you run its tests? -- Dave Isa. 40:31 |