Configuring R/RK/RKITOVER/Net-SSH2-0.71.tar.gz with Makefile.PL 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 , or libgcrypt, which can be obtained from http://www.gnupg.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 (and extra link args) on the command line. E.g.: perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include \ ldargs="-lz" These can also be set through the LIBSSH2_LIB/LIBSSH2_INCLUDE/LIBSSH2_LDARGS environment variables. To build with libgcrypt instead of OpenSSL, pass 'gcrypt' as a parameter to Makefile.PL, e.g.: perl Makefile.PL gcrypt Looking for libraries... Analyzing file assertlibMf9bpvzG.exe Unable to find a working version of library z in the following directories: C:\strawberry\perl\site C:\strawberry\perl /usr /usr/local /opt /opt/local /usr/local/libssh2 /opt/libssh2 /usr/local/ssl Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL] RKITOVER/Net-SSH2-0.71.tar.gz C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK Stopping: 'install' failed for 'Net::SSH2'. Failed during this command: RKITOVER/Net-SSH2-0.71.tar.gz : writemakefile NO 'C:\strawberry\perl\bin\perl.exe Makefile.PL' returned status 512