readthefuckingmanual.net

[SOLVED] /usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lc

Error added: 2005-11-04T23:58:11Z

0 people waiting for the answer...

1 answers found.

Answer 51 (0.0% helpful)

You are likely missing libc.a
The -lc switch tells the linker to link the object code with libc, either statically or dynamically, depending on how you are linking. Check the makefile or your environment to see what your library path is. If this looks correct, then check to see if the libc.a or libc.sl files exist in that path.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: