试验环境 centos
yum install gcc -y
yum install openssl -y
yum install openssl-dev -y
./configure --prefix=/usr/local/libssh2 --with-openssl CPPFLAGS="-I/usr/local/openssl/include" LDFLAGS="-L/usr/local/openssl/lib"
make
make install
编译的库
./sra/.lib/libssh2.so.1.0.1