i run gcc bruteforce.c -o bruteforce -lcrypto
There is a header file #include <openssl/evp.h>The code perfectly works in another machine But it has the following error in my current PC.
bruteforce.c:1:25: fatal error: openssl/evp.h: No such file or directory
compilation terminated.
2 Answers
The other answer is almost correct but only works if you have already solved the problem. It led me to this solution:
sudo apt install -y libssl-dev Ask the packaging system:
walt@bat:~(0)$ dpkg -S /usr/include/openssl/evp.h
libssl-dev:amd64: /usr/include/openssl/evp.h 1