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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-14-2005, 08:43 PM
|
#1
|
Member
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183
Rep:
|
libstdc++ problem, 'rpm' also doesnt work :(
[root@localhost anurag]# rpm -Uvh libstdc++-4.0.1-4.fc4.i386.rpm
rpm: error while loading shared libraries: libstdc++.so.6: cannot open
shared object file: No such file or directory
This is what the error comes when I try to upgrade, run a file, firefox,
anything.
I had gcc-4.0.1-4.fc4 installed on my system. I was trying out with vmware.
It required me to use the same version of gcc as the kernel was compiled
with. So, I downgraded all the gcc and its dependencies and the things which
depended on it to the lower version(fc4 default). Now, its not able to run
anything. Is there any cure? Yeah, my gnome is working,
but no KDE, no Kaffeine, no firefox and not even the rpm command.
Please help asap.
|
|
|
08-14-2005, 09:37 PM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Your best bet is probably to unpack the rpm on another system (you can use rpm2tgz and just untar it into a temp directory). Then just scp the root of it to / and you should be ok... providing you can use scp.
If you can't, boot off a live cd, mount your file system to a temp mount point, and do it from there.
|
|
|
08-14-2005, 09:53 PM
|
#3
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,352
|
"I had gcc-4.0.1-4.fc4 installed on my system. I was trying out with vmware.
It required me to use the same version of gcc as the kernel was compiled
with."
Wouldn't it have been easier to recompile your kernel with gcc-4.0.1-4.fc4 than trying to downgrade gcc?
--------------------------
Steve Stites
|
|
|
08-15-2005, 02:40 AM
|
#4
|
Member
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183
Original Poster
Rep:
|
It was easier to downgrade GCC. With a connection speed of 300 KB/sec, it was so so easy to just download all packages needed to be downgraded and...
rpm --oldpackage -Uvh *.rpm
Anyways, I solved the problem finally.
rpm2cpio libstdc++-4.0.1-4.fc4.i386.rpm | cpio -dimv
(on a different machine)
and then scped the files to my system at the correct place. Works now. Thanks a lot.
|
|
|
All times are GMT -5. The time now is 05:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|