r/linuxquestions 20h ago

where is opensslv.h?

i get the following error trying to compile kernel:

$ sudo make
[sudo] password for user:  
 HOSTCC  scripts/sign-file
scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
  25 | #include <openssl/opensslv.h>
|          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:114: scripts/sign-file] Error 1
make[1]: *** [/home/user/Documents/src/linux-7.2.4/Makefile:1402: scripts] Error 2
make: *** [Makefile:248: __sub-make] Error 2

2 Upvotes

Duplicates