LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-30-2007, 02:52 PM   #1
Happywitch
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
gcc doesn't work after upgrade


I installed all the updates, and after that, my computer is messed up. gcc doesn't work now, and shows an error message when running c programs as follows
"/usr/local/bin/ld: error while loading shared libraries: libbfd-2.17.50.0.6-2.el5.so: cannot open shared object file: No such file or directory"

I try to install libbfd, another error pops up:

'checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables."

I found that gcc has been upgraded from gcc-4.1.1 to gcc-4.1.2 after installing those updates. It may be the cause of all the problems.

How can I handle this problem? Thanks!
 
Old 11-30-2007, 02:58 PM   #2
kav
Member
 
Registered: May 2006
Location: USA
Distribution: FreeBSD Ubuntu Debian
Posts: 137

Rep: Reputation: 15
Quote:
Originally Posted by Happywitch View Post
I installed all the updates
What updates for what distribution?
 
  


Reply


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
Why gcc is needed for an HBA card? How to upgrade gcc enayet_v Linux - Newbie 3 11-17-2007 05:57 AM
How to upgrade to gcc 4.1.2 from gcc 3.4.4 on Slackware 11.0 lali.p Slackware 4 09-10-2007 07:31 AM
Upgrade from gcc 3.X to gcc 4.0 in Slackware Bob_H Linux - Software 2 06-01-2006 09:51 PM
gcc Upgrade (RH 7.3) ejfuente Linux - Newbie 1 10-21-2003 10:37 AM
gcc upgrade tundra Linux - General 10 09-08-2002 04:11 AM


All times are GMT -5. The time now is 02:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration