[CentOS] compilation error

Mon Oct 10 22:30:23 UTC 2011
Ljubomir Ljubojevic <office at plnet.rs>

Vreme: 10/10/2011 09:14 PM, mattias piše:
> i try to compile a application but
> /usr/bin/ld can not find -lc
> what librarie are i missing
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
http://www.cyberciti.biz/faq/centos-rhel-redhat-usrbinld-cannot-findlc-error/:

You need to install the glibc-static package. It contains the C library 
static libraries for -static linking. You don't need these, unless you 
link statically, which is highly discouraged. But mini_sendmail is 
specially used for chrooted setup. To install this login as root and 
type the following command:
# yum install glibc-static

Does this help? It only took me 30 seconds on Google.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant