Unix Technical Forum

/usr/bin/ld: cannot find -lgcc_s

This is a discussion on /usr/bin/ld: cannot find -lgcc_s within the Debian Linux support forums, part of the Debian Linux category; --> Hi, I installed Damn Small Linux and I've been having fun with it. I have a question about compiling. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 08:37 AM
mwhite@aristotle.net
 
Posts: n/a
Default /usr/bin/ld: cannot find -lgcc_s

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 08:37 AM
mwhite@aristotle.net
 
Posts: n/a
Default Re: /usr/bin/ld: cannot find -lgcc_s


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
>
> >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


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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com