Re: [Ssh-sftp-perl-users] Re: Re: Error in Perl::SSH2 Instalation - Make test
Brought to you by:
dbrobins
From: Bryan B. <br...@bu...> - 2006-03-17 15:09:34
|
> > # file libssh2-0.12/src/libssh2.so > > libssh2-0.12/src/libssh2.so: ELF 64-bit LSB shared object, AMD x86-64, > version 1 (SYSV), not stripped Since your libssh2.so file built as 64-bit, you shouldnt need to modify the way you made it. It should be ready for Net::SSH2 > > > Instalation of libssh2-0.12: > > > /usr/bin/install -c libssh2.so /usr/local/lib > > make[1]: Leaving directory > `/home/config/Modulos_Perl/Net-SSH2/libssh2-0.12/src' > > /usr/bin/install -c -m 644 include/libssh2.h /usr/local/include/ > > /usr/bin/install -c -m 644 include/libssh2_sftp.h /usr/local/include/ > > /usr/bin/install -c -m 644 include/libssh2_publickey.h > /usr/local/include/ > So libssh2.so is in /usr/local/lib, check /etc/ld.so.conf and make sure /usr/local/lib is included, then run "ldconfig" as root. > Gor me, it seems that libssh2 is installed. > > But if I do this again: > > > > # ldd Net-SSH2-0.06/blib/arch/auto/Net/SSH2/SSH2.so > > libssh2.so => not found > > libc.so.6 => /lib64/libc.so.6 (0x00002aaaaabdf000) > > /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) > > > > > > What can I do to install Net::SSH2? I really need this module for some > scripts I'm creating, can anyone show me what I might try? I really > don't know how to make this work... > > > It looks like Net::SSH2 was smart enough to build with -L/usr/local/lib, but your system doesnt recognize it as a library search path. Try the ldconfig i mentioned and run your install of Net::SSH2 again. Hope that helps. Bryan http://sourceforge.net/projects/rover |