
У меня есть операционная система Centos 5.7, и я успешно установил OpenSSL 1.0.1h. но когда я обновляю OpenSSH, я получаю следующее сообщение об ошибке при запуске ./configure. Пожалуйста, помогите мне с этим и дайте мне знать, если у вас есть какие-либо вопросы.
checking whether snprintf correctly terminates long strings... yes
checking whether snprintf can declare const char *fmt... yes
checking whether system supports SO_PEERCRED getsockopt... yes
checking for (overly) strict mkstemp... yes
checking if openpty correctly handles controlling tty... yes
checking whether getpgrp requires zero arguments... yes
checking OpenSSL header version... 1000108f (OpenSSL 1.0.1h 5 Jun 2014)
checking OpenSSL library version... 90802f (OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008)
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.
решение1
... я установил OpenSSL 1.0.1h ...
Да, но только версию заголовка. Ваша библиотека все еще 0.9.8e-fips-rhel5
не 1.0.1h
похожа на ваш заголовок. Вам нужно установить соответствующую библиотеку для вашего заголовка.
Похоже, вы установили OpenSSL 1.0.1h
вручную, хотя, 0.9.8e-fips-rhel5
похоже, это версия rhel. Версия rhel, вероятно, была установлена через package-management. Возможно, вам просто нужно удалить via 0.9.8e
. yum remove openssl-libs
После этого проверьте, обнаружены ли ваши OpenSSL 1.0.1h
библиотеки (я предполагаю, что вы установили header + lib). Если нет, установите OpenSSL 1.0.1h
-libs (снова).