NikitaIvanovV / ctpv

Image previews for lf file manager
https://www.nikitaivanov.com/man1/ctpv
MIT License
264 stars 24 forks source link

Compilation Error: openssl/md5.h: No such file or directory #11

Closed thalha-dev closed 2 years ago

thalha-dev commented 2 years ago

I have openssl installed in my machine. And I am not a C dev. Help

make[1]: Leaving directory '/home/thalha/source-installed/ctpv/embed' cc -O2 -MD -Wall -Wextra -Wno-unused-parameter -c -o src/ctpv.o src/ctpv.c src/ctpv.c:9:10: fatal error: openssl/md5.h: No such file or directory 9 | #include <openssl/md5.h> | ^~~~~~~ compilation terminated. make: *** [: src/ctpv.o] Error 1

thalha-dev commented 2 years ago

After installing this package the error gone.

libssl-dev

NikitaIvanovV commented 2 years ago

Glad you figured it out yourself! Some Linux distros (such as Ubuntu) need special files called "header files" to build a program that uses a library and libssl-dev probably contains such files for openssl.