Libssh2 package is a client-side C library implementing the SSH2 protocol.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://www.libssh2.org/download/libssh2-1.10.0.tar.gz
Download MD5 sum: f604ba083fad23bf715a9ecccc9f57f4
Download size: 944 KB
Estimated disk space required: 13 MB (with tests)
Estimated build time: 0.2 SBU (with tests)
GnuPG-2.3.6, libgcrypt-1.10.1, and OpenSSH-9.0p1 (all three are required for the testsuite)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libssh2
Install libssh2 by running the following commands:
./configure --prefix=/usr --disable-static && make
To test the results, issue: make
check. One test named ssh2.sh
is known to fail with recent OpenSSH
releases.
Now, as the root
user:
make install
--disable-static
: This
switch prevents installation of static versions of the libraries.