整体的报错是这样的
checking OpenSSL library version... 1010104f (OpenSSL 1.1.1d 10 Sep 2019)
checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your
library. Check config.log for details.
If you are sure your installation is consistent, you can disable the check
by running "./configure --without-openssl-header-check".
Also see contrib/findssl.sh for help identifying header/library mismatches.
openssh编译失败,请检查
解决方案如下:
打开文件vim /etc/ld.so.conf
.
.
将文件中带有 1.1.1d的行注释就可以了
还有/usr/local/ssl/lib行也可以注释掉(补充)