Cmake找不到openssl库
我正在尝试在使用OpenSSL的CentOS 8上构建一些代码。当我跑步时给它
致命错误:openssl/core_names.h:没有这样的文件或目录
来源包含以下文件:
#include< openssl/core_names.h>
#include #include #include&lt; openssl/evp.h&gt; <&gt; <&gt; < /code>
#include&lt; openssl/kdf.h&gt;
,但是我安装了openssl从源中,还与百胜安装。当我检查哪个命令时,我将获得以下输出:
openssl
/root/openssl-1.0.2r/builddir/bin/bin/openssl
我也与yum一起安装了此命令:
yum install openssl-devel
canyou thyou帮助我克服了这个问题?
I'm trying to build some code on Centos 8 that uses OpenSSL. When I run make it gives
fatal error: openssl/core_names.h: No such file or directory
Source include these files:
#include <openssl/core_names.h>
#include <openssl/evp.h>
#include <openssl/kdf.h>
However I installed openssl from source and also installed with yum. When I check with which command I get output as follows:
which openssl
/root/openssl-1.0.2r/builddir/bin/openssl
I also installed with yum with this command:
yum install openssl-devel
Canyou help me to overcome this problem??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论