在编译openssh时,configure报错
checking OpenSSL header version...(OpenSSL 1.1.1h 21 Apr 2020)
checking for OpenSSL_version... no
checking for OpenSSL_version_num... no
checking OpenSSL library version... not found
configure: error: OpenSSL library not found.
openssl默认安装到了/usr/local下,配置如下解决问题
CCFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure
/usr/local/lib 根据系统版本选择 /usr/local/lib或/usr/local/lib64