获取错误openssl / rsa.h:没有这样的文件或目录

问题描述 投票:0回答:1

我正在使用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

c++ ubuntu openssl
1个回答
0
投票

似乎在您的系统中找不到apt-get命令。

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

© www.soinside.com 2019 - 2024. All rights reserved.