
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
헤더에 맞는 라이브러리를 설치해야 합니다. rhel 버전인 것 같지만 수동으로
설치한 것 같습니다 . rhel 버전은 아마도 패키지 관리를 통해 설치되었을 것입니다. 아마도 via를 제거해야 할 수도 있습니다 . 그런 다음 라이브러리가 감지되는지 확인하십시오(헤더 + lib를 설치했다고 가정합니다). 그렇지 않은 경우 -libs를 다시 설치하십시오.OpenSSL 1.0.1h
0.9.8e-fips-rhel5
0.9.8e
yum remove openssl-libs
OpenSSL 1.0.1h
OpenSSL 1.0.1h