ubuntu14.04 Cannot find OpenSSL's <evp.h>

Cannot find OpenSSL's <evp.h>

when i configure php7 manually,i get trouble with that problem,finaly,i solve it

condition:

sudo apt-get install libjpeg-dev libpng12-dev  libcurl4-openssl-dev libmcrypt-dev mcrypt apache2-dev 
./configure  --prefix=/opt/php-7.0.2 --with-config-file-path=/opt/php-7.0.2/etc   --with-iconv-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr/ --enable-xml --disable-rpath  --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization  --enable-mbregex   --enable-mbstring  --with-mcrypt   --enable-ftp --with-gd --enable-gd-native-ttf  --with-openssl -with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap  --without-pear  --with-gettext  --with-curl   --with-apxs2=/usr/bin/apxs --with-mysqli --with-pdo-mysql --enable-mbstring

problem:

Cannot find OpenSSL's <evp.h>

Anwser:

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

posted on 2016-02-01 00:56  yeah,youcandoit  阅读(2488)  评论(0编辑  收藏  举报

导航