error: Cannot find OpenSSL's <evp.h> centos 6.3 (install php)

17,941

When I run yum whatprovides */evp.h, I get several packages that provide this file, all different versions of openssl-devel. Did you yum install openssl-dev or openssl-devel? If the former, that's the wrong package name.

Share:
17,941

Related videos on Youtube

user201202
Author by

user201202

Updated on September 18, 2022

Comments

  • user201202
    user201202 almost 2 years

    I have a problem during the intallation of php 5.3.27. When I launch the. / Configure I get this error and does not complete the installation.

    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>
    

    I state that I have already tried to update openssl, using the command yum-y install openssl-dev.

    Thanks