[...] /usr/local/lib64 /usr/local /usr /opt /opt/local /usr/local/libssh2 /opt/libssh2 /usr/local/ssl /home/users/builder /home/users/builder/libssh2 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 If you want to build on Windows, see the file BUILDING.WIN32 in the distribution. error: Bad exit status from /tmp/B.KZngFk/BUILD/tmp/rpm-tmp.91626 (%build) RPM build errors: Bad exit status from /tmp/B.KZngFk/BUILD/tmp/rpm-tmp.91626 (%build) ended at: Sun Apr 19 15:32:32 2020, done in 0:00:00.246004 error: No files produced. + chmod -R u+rwX /tmp/B.KZngFk/BUILD + rm -rf /tmp/B.KZngFk/tmp /tmp/B.KZngFk/BUILD + rm -rf /tmp/B.KZngFk Begin-TLD-Builder-Info Build-Time: user:0.48s sys:0.25s real:0.78s (faults io:0 non-io:44559) End-TLD-Builder-Info