Error linking with g++

Daniel Robitaille robitaille at gmail.com
Sun May 15 00:53:24 UTC 2005


> I've written a little program in C++ that throws the following error whe
> I complile it:
> 
> "/usr/bin/ld: cannot find -lgcc_s"
> 
> I've been googling for this error with no success. Google gives me so
> much results that I can't find anything informative on them :-(
> 
> I'm using a properly updated Ubuntu Hoary.
> 
> Does anybody know anything about this error?

do you have all the packages needed  to compile codes in Ubuntu?

Or in other words:
    sudo apt-get install build-essential




More information about the ubuntu-users mailing list