perl Makefile.PL lib=/usr/local/lib inc=/usr/include
Subroutine checklibs redefined at inc/Module/Install/CheckLib.pm line 11.
Subroutine assertlibs redefined at inc/Module/Install/CheckLib.pm line 25.
Subroutine _author_side redefined at inc/Module/Install/CheckLib.pm line 39.
The libssh2 library is required by this module. If you don't have it, you can
download it from http://www.libssh2.org; you may also need OpenSSL, which can be
obtained from http://www.openssl.org.
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
distribution.
Writing Makefile for Net::SSH2
Writing MYMETA.yml and MYMETA.json
####
perl Makefile.PL lib=/usr/lib64 inc=/usr/include
####
libssh2: libssh2-1.2.2-11.el6_3.x86_64
openssl: openssl-1.0.0-25.el6_3.1.x86_64
zlib: zlib-1.2.3-27.el6.x86_64