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   yeah,youcandoit  阅读(2488)  评论(0编辑  收藏  举报

编辑推荐:
· ASP.NET Core 模型验证消息的本地化新姿势
· 对象命名为何需要避免'-er'和'-or'后缀
· SQL Server如何跟踪自动统计信息更新?
· AI与.NET技术实操系列:使用Catalyst进行自然语言处理
· 分享一个我遇到过的“量子力学”级别的BUG。
阅读排行:
· dotnet 源代码生成器分析器入门
· 官方的 MCP C# SDK:csharp-sdk
· 从零开始:基于 PyTorch 的图像分类模型
· [WPF] 在RichTextBox中输出Microsoft.Extension.Logging库的
· 一步一步教你部署ktransformers,大内存单显卡用上Deepseek-R1

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示