AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.21k stars 476 forks source link

fatal error: openssl/aes.h: No such file or directory #122

Closed awitherow closed 7 years ago

awitherow commented 7 years ago
pi@pi:~/dev/git-crypt $ sudo make install PREFIX=/usr/local/bin
g++ -Wall -pedantic -Wno-long-long -O2   -c -o crypto-openssl.o crypto-openssl.cpp
crypto-openssl.cpp:34:25: fatal error: openssl/aes.h: No such file or directory
 #include <openssl/aes.h>
                         ^
compilation terminated.
<builtin>: recipe for target 'crypto-openssl.o' failed
make: *** [crypto-openssl.o] Error 1

I am on a raspberry pi on the latest jessian. I am wondering if the make script does not work on this?

awitherow commented 7 years ago

Doing some googling, it seems that I did not have the library libssl-dev installed and this prevented the installation from working.

To solve this, I used sudo apt-get install libssl-dev