|
Home > Archive > Linux Debian support > March 2006 > /usr/bin/ld: cannot find -lgcc_s
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
/usr/bin/ld: cannot find -lgcc_s
|
|
| mwhite@aristotle.net 2006-03-08, 5:48 pm |
| Hi,
I installed Damn Small Linux and I've been having fun with it. I have
a question about compiling. I untarred a RevealRadio program in my
home directory and used "make". It stops with this error:
/usr/bin/ld: cannot find -lgcc_s
>From searching usenet I know that it's a problem of not finding the
library. So I look in /usr/lib and libgcc_s.so is there but the
compiler is looking in a different directory which has a symbolic link
to libgcc_s.so. Why won't it work?
Thanks,
Mike
| |
| mwhite@aristotle.net 2006-03-13, 5:47 pm |
|
mwhite@aristotle.net wrote:
> Hi,
>
> I installed Damn Small Linux and I've been having fun with it. I have
> a question about compiling. I untarred a RevealRadio program in my
> home directory and used "make". It stops with this error:
> /usr/bin/ld: cannot find -lgcc_s
>
> library. So I look in /usr/lib and libgcc_s.so is there but the
> compiler is looking in a different directory which has a symbolic link
> to libgcc_s.so. Why won't it work?
>
> Thanks,
> Mike
For anyone interested I did finally get the program to compile. I did
a smaller test program "Hello World" and put in all of the include
statements that the radio program used. I just typed in a simple gcc
statement and didn't use a make file and everything compiled. Next I
commented out extra instructions for the compiler in the radio program
makefile and the program compiled.
Mike
|
|
|
|
|