erro: Não é possível encontrar evp.h centos 6.3 do OpenSSL (instalar php) [closed]

6

Eu tenho um problema durante a instalação do php 5.3.27. Quando eu lanço o. / Configurar Eu recebo este erro e não concluo a instalação.

Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking which regex library to use... php
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/local/php530-cgi
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking for krb5-config... no
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... no
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>

Eu afirmo que eu já tentei atualizar o openssl, usando o comando yum-y install openssl-dev.

Obrigado

    
por user201202 02.12.2013 / 16:30

1 resposta

11

Quando executo yum whatprovides */evp.h , recebo vários pacotes que fornecem esse arquivo, todas as versões diferentes de openssl-devel . Você instalou openssl-dev ou openssl-devel ? Se o primeiro, esse é o nome do pacote errado.

    
por 02.12.2013 / 16:35