I'm trying to compile a program that, according to the documentation, requires the "OpenSSL library". I have OpenSSL installed, and it's still giving me the error openssl/sha.h: No such file or directory. Is there some other library that has to be installed?
Asked
Active
Viewed 1.4e+01k times
55
tkbx
- 10,847
1 Answers
87
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.
replay
- 8,553
- 1
- 27
- 31
/usr/include/openssl/sha.his inlibssl-devin oldstable, stable and unstable. – Gilles 'SO- stop being evil' Aug 20 '13 at 22:43libcurl4-openssl-devinstalled.libssl-devsorted this for me. – voices Jan 10 '19 at 13:41