NikitaIvanovV / ctpv

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

can't install #18

Closed thisismygitrepo closed 1 year ago

thisismygitrepo commented 1 year ago

08:48:06 alex@alex-xps ctpv ±|master|→ sudo make install make -C embed make[1]: Entering directory '/home/alex/ctpv/embed' make[1]: 'embed' is up to date. make[1]: Leaving directory '/home/alex/ctpv/embed' cc -o src/ctpv.o src/ctpv.c -c -O2 -MD -Wall -Wextra -Wno-unused-parameter src/ctpv.c:2:10: fatal error: magic.h: No such file or directory 2 | #include | ^~~~~ compilation terminated. make: *** [Makefile:55: src/ctpv.o] Error 1

NikitaIvanovV commented 1 year ago

You need to install libmagic library. Which Linux distribution do you use?

NikitaIvanovV commented 1 year ago

Another issue similar to this: https://github.com/NikitaIvanovV/ctpv/issues/23