Ticket #134 (new defect)
Opened 9 years ago
Error compiling cgic library
Reported by: | aandre | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Development platform | Version: | |
Keywords: | Cc: |
Description
Following installation instructions [1], i get an error at cgic library compilation:
gcc -g -Wall -c -o cgic.o cgic.c rm -f libcgic.a ar rc libcgic.a cgic.o ranlib libcgic.a gcc -g -Wall -c -o cgictest.o cgictest.c cgictest.c: In function 'cgiMain': cgictest.c:25:2: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration]
dup2(cgiOut,stdout);
gcc cgictest.o -o cgictest.cgi -L./ -lcgic /usr/lib64/libfcgi.so gcc: error: /usr/lib64/libfcgi.so: No such file or directory make: * [cgictest.cgi] Error 1
The OS is 64 bits (Linux cc114204a666 3.16.0-50-generic #67~14.04.1-Ubuntu SMP Fri Oct 2 22:07:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux) but there's no /usr/lib64 directory. Here is the file: /usr/lib/libfcgi.so