kasparsd / php-7-debian

Install PHP 7 on Debian/Ubuntu
349 stars 103 forks source link

configure:error: Cannot find OpenSSL's <evp.h> #1

Closed Amgine0 closed 9 years ago

Amgine0 commented 9 years ago

Clean install debian 8.2.0 amd64 install git, clone, run ./build.sh:

configure: error: Cannot find OpenSSL's <evp.h>
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
kasparsd commented 9 years ago

@Amgine0 Try installing libssl-dev to see if that fixes the issue:

$ sudo apt-get install libssl-dev
Amgine0 commented 9 years ago

Same results after installing libssl-dev.

configure: error: Cannot find OpenSSL's libraries
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.

(well, slightly different, but...)

PyRowMan commented 9 years ago

Same issue here :/

EDIT :

Resolved with :

sudo apt-get install libcurl4-openssl-dev pkg-config.

kasparsd commented 9 years ago

Thanks @PyRowMan!

icamys commented 8 years ago

Don't forget to run:

sudo apt-get update

before trying to install new packages.