LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-01-2006, 03:23 PM   #1
piforever
Member
 
Registered: Dec 2005
Distribution: CentOS 5 - Debian 5
Posts: 112

Rep: Reputation: 15
I accidentally deleted libstdc++ :(


Yes I did!!! I installed rarlinux and it complained about the non existence libstdc++.so.5. In FC4 I found libstdc++.so.6...so I made a link "ln -s libstdc++.so.6 libstdc++.so.5"......rar this time found the libraries but it also did not work since it needed specific version of the libraries...so I thought i will delete the link and i issued this command "rm -f libstdc++.*"....why i did that....stupidity!!!

now i cant use yum and at the same time cant use rpm to install the package again.....what can i do??
 
Old 01-01-2006, 05:24 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Re-install the libstdc++ rpms installed on your system;

rpm -Uvh ftp://download.fedora.redhat.com/pub...libstdc++*.rpm --force

One long line with a space after the .rpm portion and before the --force portion.
 
Old 01-01-2006, 05:33 PM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
libstdc++.so.5 is provided by compat-libstdc++-33, so install that as well.
 
Old 01-01-2006, 05:43 PM   #4
piforever
Member
 
Registered: Dec 2005
Distribution: CentOS 5 - Debian 5
Posts: 112

Original Poster
Rep: Reputation: 15
thnx to both of you...i appreciate the help........so rpm is going to work w/o libstdc++??!!!
 
Old 01-01-2006, 06:03 PM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Yes, rpm should work just fine.
 
  


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
Newbie deleted some files accidentally twysm Red Hat 2 04-08-2005 05:00 PM
Accidentally deleted files rwalkerphl Linux - Newbie 3 06-24-2004 06:11 PM
Accidentally deleted /etc/init.d .. what do i do? :| waste Linux - General 5 03-04-2004 03:39 AM
7.2 Redhat - accidentally deleted /lib gedi1 Linux - Software 2 02-27-2004 01:49 PM
accidentally deleted /etc/profile tanbetien Fedora 2 11-21-2003 09:42 PM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration