/usr/bin/ld: cannot find -lgcc_s
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > /usr/bin/ld: cannot find -lgcc_s




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    /usr/bin/ld: cannot find -lgcc_s  
mwhite@aristotle.net


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-08-06 10: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






[ Post a follow-up to this message ]



    Re: /usr/bin/ld: cannot find -lgcc_s  
mwhite@aristotle.net


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-13-06 10: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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:01 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register