I have tried to recompile the kernel with make
command for config but this error occured:
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
#include <openssl/bio.h>
So then a i have tried install libssl-dev
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.1 (= 1.1.1b-1ubuntu2) but 1.1.1b-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Can anyone tell me how can i fix my dependecies? And why do I have them broken?
fatal error: openssl/aes.h: No such file or directory ... 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:
Well, the above output says that err.h file is shipped with OpenSSL development package. So installing openssl-devel should fix the error. Now, OpenCA tools package should compile without an error. Hope it helps someone out there.
probably you are missing the openssl header files. depending on your distribution this package might have a different name, mostly it's something like openssl-dev or openssl-devel. after you installed the openssl header files, the compiler should be able to find openssl/sha.h. In Ubuntu/Debian the package is called libssl-dev.
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.
Try to install aptitude
and use this tool for downgrading of libssl-dev.
$ sudo apt-get install aptitude
After this step use aptitude to downgrade your to 1.1.1b-1ubuntu2 from 1.1.1b-1ubuntu2.1
$ sudo aptitude install libssl-dev
Choose carefully the option. This will solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With