2 May
2013
2 May
'13
1:47 a.m.
On 1 May 2013 17:16, Gorm J. Siiger <gjs at sonnit.dk> wrote:
/usr/bin/ld: cannot find -lc
Install the glibc-static package and try again.
The "-lc" means the "c" library, named libc. The compiler replaces "-l" with "lib". The same type of error saying "cannot find -lMOO" would mean that it couldn't find the library file libMOO. For a dynamic library, this would be libMOO.so, and for a static library would be libMOO.a. So you're missing the file "libc.so".
You can then use "yum provides */libMOO.so" to find what package to install.
J