CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Issue Installing Net::SSH2



Apr 26, 2012, 5:44 AM

Post #1 of 2 (1657 views)
Issue Installing Net::SSH2 Can't Post

I have been trying to install the Net::SSH2 module, but I cannot get it to install fully using cpan - install Net::SSH2. I get the errors below at the end and I cant figure it out. I have libssh2 installed as far as I know.. Any help would be greatly appreciated.

Subroutine checklibs redefined at inc/Module/Install/ line 11.
Subroutine assertlibs redefined at inc/Module/Install/ line 25.
Subroutine _author_side redefined at inc/Module/Install/ line 39.

The libssh2 library is required by this module. If you don't have it, you can
download it from; you may also need OpenSSL, which can be
obtained from

Debian: sudo aptitude install libssh2-1-dev
OpenSUSE: sudo zypper in libssh2-1 libssh2-devel

You can pass your libssh2 lib and include dirs on the command line. E.g.:

perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include

If you want to build on Windows, see the file BUILDING.WIN32 in the

Can't link/include 'libssh2.h', 'ssh2'
No 'Makefile' created RKITOVER/Net-SSH2-0.44.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
RKITOVER/Net-SSH2-0.44.tar.gz : writemakefile NO -- No 'Makefile' created


Apr 27, 2012, 12:08 PM

Post #2 of 2 (1401 views)
Re: [tbone587] Issue Installing Net::SSH2 [In reply to] Can't Post

Nobody can provide assistance on this? It is a linux box I am trying to get this setup on.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives