[Xymon] Compiling a static linked xymon client for RHEL 6.x

Jeremy Laidman jlaidman at rebel-it.com.au
Thu May 2 03:47:09 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130502/c83db26e/attachment.html>


More information about the Xymon mailing list