Your OpenSSL headers do not match your library


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  (库配置项见 另一篇随笔)
再次执行编译成功进行下去了


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM