【问题标题】:Getting errro openssl/rsa.h: No such file or directory出现错误 openssl/rsa.h: No such file or directory
【发布时间】:2019-02-21 21:58:09
【问题描述】:

我正在使用 ubuntu 并编译 gRPC,但在 openssh 上出现错误:

gRPC/src/core/lib/security/credentials/jwt/json_token.h:25:25: fatal error: openssl/rsa.h: No such file or directory

我的系统有以下 openssh 版本:

OpenSSL 1.0.2h-fips  3 May 2016

尝试使用以下命令安装 openssh:

apt-get install libssl-dev

它给出错误command not found

【问题讨论】:

  • 可能包含路径不正确。
  • YEs 看起来像,但我认为它应该取自系统 openssh 安装路径
  • 在代码中它是#include
  • 很明显,但是包含路径是什么?
  • 你安装了apt吗? which apt-get 返回什么?

标签: c++ ubuntu openssl


【解决方案1】:

您的系统中似乎没有找到apt-get 命令。

这可能对您有帮助 (apt-get: command not found)。

【讨论】:

    猜你喜欢
    • 2016-11-01
    • 2017-04-24
    • 1970-01-01
    • 2020-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-03
    • 2023-01-23
    相关资源
    最近更新 更多