I\'m trying to compile my program and it returns this error :
usr/bin/ld: cannot find -l
in my makefile I use the c
I had this problem with compiling LXC on a fresh VM with Centos 7.8. I tried all the above and failed. Some suggested removing the -static flag from the compiler configuration but I didn't want to change anything.
The only thing that helped was to install glibc-static and retry. Hope that helps someone.