免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3600 | 回复: 1
打印 上一主题 下一主题

安装Net:SSH2出错,有没有人遇到过? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-30 14:34 |只看该作者 |倒序浏览
root@szcdev01 # cd Net-SSH2-0.10\r\nroot@szcdev01 # ls\r\nChanges       Makefile      SSH2.bs       SSH2.xs       const-xs.inc  lib           t\r\nMANIFEST      Makefile.PL   SSH2.c        blib          example       pm_to_blib    typemap\r\nMETA.yml      README        SSH2.o        const-c.inc   fallback      ppport.h\r\nroot@szcdev01 # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib\r\nroot@szcdev01 # perl Makefile.PL\r\nNet::SSH2: using library -L/usr/local/lib -lssh2 and include path -I/usr/local/include.\r\nWriting Makefile for Net::SSH2\r\nroot@szcdev01 # make\r\ncc -c  -I/usr/local/include -I.  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff    -DVERSION=\\\"0.10\\\"  -DXS_VERSION=\\\"0.10\\\" -KPIC \"-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE\"   SSH2.c\r\n\"SSH2.xs\", line 707: warning: argument #3 is incompatible with prototype:\r\n        prototype: pointer to void : \"/usr/local/include/libssh2.h\", line 263\r\n        argument : pointer to function() returning void\r\n\"SSH2.xs\", line 1749: warning: argument #2 is incompatible with prototype:\r\n        prototype: pointer to const unsigned char : \"/usr/local/include/libssh2_publickey.h\", line 81\r\n        argument : pointer to const char\r\n\"SSH2.xs\", line 1749: warning: argument #4 is incompatible with prototype:\r\n        prototype: pointer to const unsigned char : \"/usr/local/include/libssh2_publickey.h\", line 81\r\n        argument : pointer to const char\r\n\"SSH2.xs\", line 1763: warning: argument #2 is incompatible with prototype:\r\n        prototype: pointer to const unsigned char : \"/usr/local/include/libssh2_publickey.h\", line 87\r\n        argument : pointer to const char\r\n\"SSH2.xs\", line 1763: warning: argument #4 is incompatible with prototype:\r\n        prototype: pointer to const unsigned char : \"/usr/local/include/libssh2_publickey.h\", line 87\r\n        argument : pointer to const char\r\nRunning Mkbootstrap for Net::SSH2 ()\r\nchmod 644 SSH2.bs\r\nrm -f blib/arch/auto/Net/SSH2/SSH2.so\r\nLD_RUN_PATH=\"/usr/local/lib\" cc  -G SSH2.o  -o blib/arch/auto/Net/SSH2/SSH2.so   -L/usr/local/lib -lssh2   \r\nchmod 755 blib/arch/auto/Net/SSH2/SSH2.so\r\ncp SSH2.bs blib/arch/auto/Net/SSH2/SSH2.bs\r\nchmod 644 blib/arch/auto/Net/SSH2/SSH2.bs\r\nManifying blib/man3/Net::SSH2::File.3\r\nManifying blib/man3/Net::SSH2:ublicKey.3\r\nManifying blib/man3/Net::SSH2:ir.3\r\nManifying blib/man3/Net::SSH2::SFTP.3\r\nManifying blib/man3/Net::SSH2::Listener.3\r\nManifying blib/man3/Net::SSH2::Channel.3\r\nManifying blib/man3/Net::SSH2.3\r\nroot@szcdev01 # make test\r\n\r\nPERL_DL_NONLAZY=1 /usr/bin/perl \"-MExtUtils::Command::MM\" \"-e\" \"test_harness(0, \'blib/lib\', \'blib/arch\')\" t/*.t\r\nt/Net-SSH2....#     Failed test (t/Net-SSH2.t at line 19)\r\n#     Tried to use \'Net::SSH2\'.\r\n#     Error:  Can\'t load \'/export/home/test/SFTP/Net-SSH2-0.10/blib/arch/auto/Net/SSH2/SSH2.so\' for module Net::SSH2: ld.so.1: perl: fatal: libgcc_s.so.1: open failed: No such file or directory at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm line 230.\r\n#  at (eval 1) line 2\r\n# Compilation failed in require at (eval 1) line 2.\r\nt/Net-SSH2....NOK 1&Net::SSH2::constant not defined at t/Net-SSH2.t line 22  \r\n# Looks like you planned 72 tests but only ran 1.\r\n# Looks like your test died just after 1.\r\nt/Net-SSH2....dubious                                                        \r\n        Test returned status 255 (wstat 65280, 0xff00)\r\nDIED. FAILED tests 1-72\r\n        Failed 72/72 tests, 0.00% okay\r\nFailed Test  Stat Wstat Total Fail  Failed  List of Failed\r\n-------------------------------------------------------------------------------\r\nt/Net-SSH2.t  255 65280    72  143 198.61%  1-72\r\nFailed 1/1 test scripts, 0.00% okay. 72/72 subtests failed, 0.00% okay.\r\n*** Error code 2\r\nmake: Fatal error: Command failed for target `test_dynamic\'

论坛徽章:
0
2 [报告]
发表于 2007-07-30 14:35 |只看该作者
这里两个文件都是存在的SSH2.so,DynaLoader.pm \r\n#     Error:  Can\'t load \'/export/home/test/SFTP/Net-SSH2-0.10/blib/arch/auto/Net/SSH2/SSH2.so\' for module Net::SSH2: ld.so.1: perl: fatal: libgcc_s.so.1: open failed: No such file or directory at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm line 230.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP