LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gcc can't compile (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-cant-compile-225983/)

zionz 09-02-2004 11:16 PM

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.

btmiller 09-02-2004 11:33 PM

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

amfoster 09-02-2004 11:34 PM

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.


All times are GMT -5. The time now is 04:57 AM.