selsta / hlsdl

C program to download VoD HLS (.m3u8) files
MIT License
630 stars 157 forks source link

install at Debian 10 (buster) #48

Open JeloJelo opened 4 years ago

JeloJelo commented 4 years ago

Cheers! I try to install your tool at Debian 10 and get with error on make

cc -D_GNU_SOURCE=1 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -DPREFIX='"/usr/local"' -c src/main.c -o src/main.o src/main.c:18:10: fatal error: curl/curl.h: No such file or directory

include <curl/curl.h>

^~~~~ compilation terminated. make: *** [makefile:47: src/main.o] Error 1

What am I doing wrong?

As well can you be specified about dependencies - This program requires libcurl and libcrypto libraries.

I find libcurl4 in debian 10 - is it right lib? But for libcrypto i got huge list - which one should i install?

android-libcrypto-utils - Android crypto-utils library android-libcrypto-utils-dev - Android crypto-utils library - Development files libcrypto-equality-clojure - Clojure library protecting against timing attacks libcrypto-random-clojure - secure random generator for Clojure libcryptokit-ocaml - cryptographic algorithm library for OCaml - runtime libcryptokit-ocaml-dev - cryptographic algorithm library for OCaml - development libcrypto++-dev - General purpose cryptographic library - C++ development libcrypto++-doc - General purpose cryptographic library - documentation libcrypto++-utils - General purpose cryptographic library - utilities and data files libcrypto++6 - General purpose cryptographic library - shared library libcrypto++6-dbg - General purpose cryptographic library - debug symbols libssl-dev - Secure Sockets Layer toolkit - development files libssl-doc - Secure Sockets Layer toolkit - development documentation libssl1.1 - Secure Sockets Layer toolkit - shared libraries r-cran-openssl - GNU R toolkit for encryption, signatures and certificates based on OpenSSL

selsta commented 4 years ago

You need libcurl and libssl-dev.