jundge82516 发表于 2006-5-9 09:50:22

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

我在FC5下用命令把libstdc++用不检查程序依赖方式给删掉了,现在进FC5的时候,不能显示GNOME的正常的桌面环境了,也进不了KDE,请问怎么给恢复啊??
很急啊.....
请各位大虾给我指点下...

积木 发表于 2006-5-9 10:56:07

把 libstdc++ 给重新安装上就可以了。。。

jundge82516 发表于 2006-5-9 11:11:17

把 libstdc++ 给重新安装上就可以了。。。
怎么装啊??我用过rpm -ivh ......
来装,但是始终都装不上去啊!!
请问下怎么操作???

hew 发表于 2006-5-9 11:27:31

rpm -ivhF

jundge82516 发表于 2006-5-9 12:52:36

rpm -ivhF

还是装不了,我装了之后出现这样的界面:
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)


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

jundge82516 发表于 2006-5-9 12:54:23

另外,我装个gcc-3.4.6.tar.bz的文件,出现这样的界面:

# cd 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.


怎么一回事??
页: [1]
查看完整版本: 请各位大虾帮忙.我把FC5下的libstdc++删了怎么恢复