
Eu tenho uma caixa do sistema operacional Centos 5.7 e instalei o OpenSSL 1.0.1h com sucesso. mas quando estou atualizando o OpenSSH, recebo a mensagem de erro abaixo ao executar ./configure. Por favor, ajude-me nisso e deixe-me saber se você tiver alguma dúvida.
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.
Responder1
... instalei o OpenSSL 1.0.1h ...
Sim, mas apenas a versão do cabeçalho. Sua biblioteca está parada 0.9.8e-fips-rhel5
e não é 1.0.1h
como seu cabeçalho. Você precisa instalar a biblioteca correspondente ao seu cabeçalho.
Parece que você instalou OpenSSL 1.0.1h
manualmente, embora 0.9.8e-fips-rhel5
pareça ser uma versão rhel. A versão rhel provavelmente foi instalada via gerenciamento de pacotes. Talvez você só precise desinstalar o 0.9.8e
via yum remove openssl-libs
. Depois verifique se suas OpenSSL 1.0.1h
bibliotecas foram detectadas (presumo que você instalou header + lib). Caso contrário, instale OpenSSL 1.0.1h
-libs (novamente).