LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2009, 02:46 PM   #1
sleepylight
Member
 
Registered: Apr 2004
Location: Joppa
Posts: 32

Rep: Reputation: 16
GCC errors after a failed upgrade


Hi,

I tried upgrading my Fedora 9 server to Fedora 10 and ran into some problems. The system was left still usable and still bootable, but there were a number of Fedora 10 rpms I needed to clear out. I thought I had removed everything and gotten back to normal, but I've found now that GCC (specifically, AS) isn't working.

For example:
gcc -c test.c
as: error while loading shared libraries: libbfd-2.18.50.0.9-7.fc10.so: cannot open shared object file: No such file or directory

I have libbfd installed on my system, but it isn't the version mentioned. The one I have is /usr/lib64/libbfd-2.18.50.0.6-6.fc9.so from binutils-2.18.50.0.6-6.fc9.x86_64.

I'm sure the fc10 version is gone from the system, and ldconfig is reporting all the correct libraries, but I still can't get rid of this error. Is there another system library cache that I should be cleaning?
 
Old 01-21-2009, 03:00 PM   #2
sleepylight
Member
 
Registered: Apr 2004
Location: Joppa
Posts: 32

Original Poster
Rep: Reputation: 16
Well, I'm not sure I know what the problem was, but I fixed it. I grabbed binutils-2.18.50.0.6-6.fc9.x86_64.rpm from rpmfind.net and ran "rpm Uvh --force binutils-2.18.50.0.6-6.fc9.x86_64.rpm" and the problem went away.
 
Old 01-21-2009, 03:12 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sleepylight View Post
Well, I'm not sure I know what the problem was, but I fixed it. I grabbed binutils-2.18.50.0.6-6.fc9.x86_64.rpm from rpmfind.net and ran "rpm Uvh --force binutils-2.18.50.0.6-6.fc9.x86_64.rpm" and the problem went away.
Thanks for posting the solution...
 
  


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
help: failed build of GCC 4.3 on SLES 10/gcc 4.1 ia64 ron7000 Programming 6 05-27-2008 11:24 PM
Why gcc is needed for an HBA card? How to upgrade gcc enayet_v Linux - Newbie 3 11-17-2007 04: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 06:31 AM
Upgrade from gcc 3.X to gcc 4.0 in Slackware Bob_H Linux - Software 2 06-01-2006 08:51 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 AM.

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