Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-02-2004, 11:16 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
gcc can't compile

Hello,i was trying to configure allegro(a game programming library) and i think i accidentally deleted /usr/bin/ld (at least there is no ld in /usr/bin) becouse gcc won't work anymore it always give the same error: collect2: cannot find `ld'
. Is there a way to fix this?, im using mandrake 10. I tryed to reinstall the gcc rpm but i have to uninstall a lot of thigs that depend of it. And im not sure if it will work.
Old 09-02-2004, 11:33 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
ld is generally provided by the binutils package so you might want to try reinstalling that (I think there's a reinstall option in RPM so that you don't have to uninstall the current package first).
Old 09-02-2004, 11:34 PM   #3
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
You shouldn't have to uninstall just to reinstall. If you are using rpm's you can always try rpm -Uvh packagename to update what you have, or rpm -F to freshen the files.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compile C++ with GCC phongnh0211k Linux - Software 3 01-13-2005 01:40 AM
Compile with GCC occ Solaris / OpenSolaris 6 10-29-2004 10:19 AM
gcc 3.4.1 want not to compile, but 3.2.2 does BorisB Linux - Software 3 07-27-2004 06:53 PM
How to compile GCC if you don't have GCC? khermans Linux - Software 13 05-12-2004 06:42 PM
Can't compile GCC Mikessu Linux - Software 2 05-05-2004 03:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration