Re: compilation error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux