In an attempt to compile code utilizing OpenSSL 1.0.0 on Ubuntu 10.04 LTS, you encounter errors indicating the absence of necessary header files. These errors highlight the need to install the OpenSSL C development package.
While the command sudo apt-get install openssl installs the core OpenSSL package, it doesn't include the development headers required for compiling C applications. To resolve this issue, you need to install the package libssl-dev.
Run the following command to install the OpenSSL development package:
sudo apt-get install libssl-dev
This will install the necessary headers and libraries, allowing you to compile your code successfully.
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3