参考:
2、http://ask.xmodulo.com/fix-fatal-error-openssl.html
fatal error: openssl/opensslv.h: No such file or directory
If you encounter this error during compilation, this is because of the following: The program you are trying to build is using OpenSSL, but necessary development files (libraries and header files) required to link with OpenSSL are missing on your Linux platform.
To fix this problem, you have to install OpenSSL development package, which is available in standard repositories of all modern Linux distributions.
To install OpenSSL development package on Debian, Ubuntu or their derivatives:
$ sudo apt-get install libssl-dev
To install OpenSSL development package on Fedora, CentOS or RHEL:
$ sudo yum install openssl-devel
After installing the package, try recompiling the program
本文介绍了如何解决在 Linux 平台上编译程序时遇到的 OpenSSL 编译错误。主要原因是缺少必要的 OpenSSL 开发文件。文章提供了针对 Debian/Ubuntu 和 Fedora/CentOS/RHEL 的具体安装命令。

1989

被折叠的 条评论
为什么被折叠?



