Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile failure Debian 12
#1
When I run setup_lnx.sh I get the following error and the install aborts.

internal/c/libqb/src/http.cpp:2:10: fatal error: curl/curl.h: No such file or directory
    2 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [internal/c/libqb/build.mk:56: internal/c/libqb/src/http.o] Error 1
Reply
#2
Looks like you're missing the dev package for libcurl.

You need to install the matching dev package to the flavour of libcurl4 you have installed (if installed).

If you have already installed the GNU flavour then install...
libcurl4-gnutls-dev

If you have already installed the NSS flavour then install...
libcurl4-nss-dev

If you have already installed the OpenSSL flavour then install...
libcurl4-openssl-dev

Hope this helps.
Reply
#3
(03-15-2025, 06:03 AM)bigriverguy Wrote: When I run setup_lnx.sh I get the following error and the install aborts.

internal/c/libqb/src/http.cpp:2:10: fatal error: curl/curl.h: No such file or directory
    2 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [internal/c/libqb/build.mk:56: internal/c/libqb/src/http.o] Error 1
Parece que te falta `libcurl-dev`. Instálalo con:

```
sudo apt-get install libcurl4-openssl-dev
```

Y luego prueba de nuevo. ¡Debería funcionar.
Reply




Users browsing this thread: 1 Guest(s)