Answer the question
In order to leave comments, you need to log in
How to compile it?
Hello Toaster!
I'm trying to build the program created in this article (fcgi + nginx) I found the libfcgi
library on github
But I can't get it all together with gcc
Last attempt was like this:
gcc -I /home/user/lessons/tests/include -o main main.cpp -ldl -lfcgi -lpthread
Answer the question
In order to leave comments, you need to log in
I ran the makefile from the libfcgi archive and it installed all the libraries by itself. Then I compiled everything with -lfcgi
How to assemble this
apt-get install libfcgi-dev
gcc -o main main.c -lfcgi -pthread
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question