LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-02-2004, 11:16 PM   #1
zionz
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
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 PM.

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