in reply to Re: Running remote commands (Net::SSH2)
in thread Running remote commands (Net::SSH2)

Hi and thanks for your reply. I thought the whole point of compiling/installing this package was to install the libssh2.so (amongst other things)....so it can't be on my system as the Make fails.....

...or am i missing the point?

Regards
John
  • Comment on Re^2: Running remote commands (Net::SSH2)

Replies are listed 'Best First'.
Re^3: Running remote commands (Net::SSH2)
by zentara (Cardinal) on Dec 23, 2009 at 11:57 UTC
    am i missing the point?

    ....kind of, yes....... the libssh2 that we talk about is the c based library .... see ssh and ssh2

    ... there has been an evolution over the years from the original ( but problemsome) SSH to SSH2..... they have separate c libs that get installed at the system level..... the perl Makefile is failing because it is NOT finding that lib

    From the Net::SSH2 perl module's README file

    Net::SSH2 is a perl interface to the libssh2 (http://www.libssh2.org)

    once you get that lib installed, try to rebuild the perl module....if it fails again, then come back with the new error message :-)

    .... fwiw, you may not even have ssh2 available to you on the computer you have, if it's yours, the install the libs from the libssh2.org, AND there are many other ways to access your system's ssh capabilities... find out what they are


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku
      Sorry if i misled you but that's exactly what I'm trying to do.... i.e. install the libssh2 libraries that I downloaded from libssh2.org. It is this that I'm having problems with. I havent got to the part of installing Net::SSH2 yet because it has a dependency on libssh2.
        .... if you havn't found the answer yet.... googling reveals it's a common problem with the dynamic linker development libraries.... see libdl problems.... try and install the libdl-devel rpm to get the proper headers for compiling dynamic libs

        I'm not really a human, but I play one on earth.
        Old Perl Programmer Haiku