Xymon Mailing List Archive search

Compiling a static linked xymon client for RHEL 6.x

list Jeremy Laidman
Thu, 2 May 2013 11:47:09 +1000
Message-Id: <CAAnki7DYTgrALro66oCp=user-31105ab6e3b0@xymon.invalid>

On 1 May 2013 17:16, Gorm J. Siiger <user-489d04fa185e@xymon.invalid> 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