QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 729|回复: 5

请各位大虾帮忙.我把FC5下的libstdc++删了怎么恢复

[复制链接]
发表于 2006-5-9 09:50:22 | 显示全部楼层 |阅读模式
我在FC5下用命令把libstdc++用不检查程序依赖方式给删掉了,现在进FC5的时候,不能显示GNOME的正常的桌面环境了,也进不了KDE,请问怎么给恢复啊??
很急啊.....
请各位大虾给我指点下...
发表于 2006-5-9 10:56:07 | 显示全部楼层
把 libstdc++ 给重新安装上就可以了。。。
回复

使用道具 举报

 楼主| 发表于 2006-5-9 11:11:17 | 显示全部楼层
[quote:59ea8d787f="积木"]把 libstdc++ 给重新安装上就可以了。。。[/quote]
怎么装啊??我用过rpm -ivh ......
来装,但是始终都装不上去啊!!
请问下怎么操作???
回复

使用道具 举报

发表于 2006-5-9 11:27:31 | 显示全部楼层
rpm -ivhF
回复

使用道具 举报

 楼主| 发表于 2006-5-9 12:52:36 | 显示全部楼层
[quote:b05a1fb0a6="hew"]rpm -ivhF[/quote]

还是装不了,我装了之后出现这样的界面:
root@hhshr825 ~]# rpm -ivhF libstdc++-3.4.2-6.fc3.i386.rpm
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   libstdc++.so.6: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.2 (#1, Feb 12 2006, 03:59:46)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
回复

使用道具 举报

 楼主| 发表于 2006-5-9 12:54:23 | 显示全部楼层
另外,我装个gcc-3.4.6.tar.bz的文件,出现这样的界面:

[root@hhshr825 ~]# cd gcc-3.4.6
[root@hhshr825 gcc-3.4.6]# ./configure --prefix=/usr/local/gnu/gcc346 loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
./configure: line 2339: cc: command not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.


怎么一回事??
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-23 01:40 , Processed in 0.040857 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表