/usr/pkg/bin/perl: Shared object "libperl.so" not found make: "/usr/pkg/bin/perl -V:prefix -V:installarchlib -V:installscript -V:installvendorbin -V:installvendorscript -V:installvendorarch -V:installvendorlib -V:installvendorman1dir -V:installvendorman3dir" returned non-zero status => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for Net-SSH2-0.73.tar.gz => Checksum SHA512 OK for Net-SSH2-0.73.tar.gz ===> Installing dependencies for p5-Net-SSH2-0.73nb4 ========================================================================== The following variables will affect the build process of this package, p5-Net-SSH2-0.73nb4. Their current value is shown below: * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Full dependency libssh2>=1.11.0nb1: found libssh2-1.11.1 => Full dependency perl>=5.42.0<5.43.0: found perl-5.42.2 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for p5-Net-SSH2-0.73nb4 ===> Extracting for p5-Net-SSH2-0.73nb4 ===> Patching for p5-Net-SSH2-0.73nb4 ===> Creating toolchain wrappers for p5-Net-SSH2-0.73nb4 ===> Configuring for p5-Net-SSH2-0.73nb4 Looking for libraries... 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, use the crypto_backend option when calling Makefile.PL, e.g.: perl Makefile.PL crypto_backend=gcrypt /pbulk/work/security/p5-Net-SSH2/work/Net-SSH2-0.73/assertlibCVtzA194: Shared object "libssh2.so.1" not found Analyzing file assertlibCVtzA194 Unable to detect crypto backend used by libssh2! /pbulk/work/security/p5-Net-SSH2/work/Net-SSH2-0.73/assertlibtbUlGtFd: Shared object "libssh2.so.1" not found Analyzing file assertlibtbUlGtFd Unable to detect crypto backend used by libssh2! /pbulk/work/security/p5-Net-SSH2/work/Net-SSH2-0.73/assertlibLgKgEQ7l: Shared object "libssh2.so.1" not found Analyzing file assertlibLgKgEQ7l Unable to detect crypto backend used by libssh2! Unable to find a working version of library ssh2 in the following directories: /lib /usr/lib /usr/pkg /usr /usr/local /opt /opt/local /usr/local/libssh2 /opt/libssh2 /usr/local/ssl /pbulk/work/security/p5-Net-SSH2/work/.home /pbulk/work/security/p5-Net-SSH2/work/.home/libssh2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/security/p5-Net-SSH2 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/security/p5-Net-SSH2