I have a problem with my (own) C programs. gcc cannot find any of my header files or libraries.
When I compile I get this error:
(I installed cgilib and cgi.h is in /usr/local/include/)
Then when I manually fix the path then I get a linker error as so:
$ gcc -lcgi -o info.cgi info.c
When I compile I get this error:
Code:
info.c:3:17: error: cgi.h: No such file or directory
(I installed cgilib and cgi.h is in /usr/local/include/)
Then when I manually fix the path then I get a linker error as so:
Code:
/usr/bin/ld: cannot find -lcgi