2022年4月9日
23:37
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.
報錯為ssl 文件庫文件和頭文件不相符。
通過查看 提示中的 contrib/findssl.sh 查看讀取方式
發現庫文件存在lib和lib64 其中 lib64中的文件后綴為so.3
Lib文件中為so.1.1 有可能是為了同時兼容1.1.1版本的openssl
我修改了/etc/ld.conf
文件中關於庫的配置發現沒有生效
於是猜想 openssh.spec文件配置優先級可能更高且默認為lib文件夾
於是在庫配置項上添加了lib64 (庫配置項見 另一篇隨筆)
再次執行編譯成功進行下去了