LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 672|回复: 1

emerge出错

[复制链接]
发表于 2007-1-24 17:05:58 | 显示全部楼层 |阅读模式
我在虚拟机上从stage3 安装的gentoo 的,只装了apache + mysql +php +java
刚接触gentoo不久,尝试用过一些emger命令,现在造成的问题系统还能正常启动使用,但是只要用emerge安装软件,安装完了提示
>>> Regenerating /etc/ld.so.cache...
>>> app-admin/apachetop-0.12.6 merged.
>>> Recording app-admin/apachetop in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

dev-lang/perl
    selected: 5.8.7-r3
   protected: 5.8.8-r2
     omitted: none

sys-devel/libperl
    selected: 5.8.7
   protected: 5.8.8-r1
     omitted: none

sys-apps/sed
    selected: 4.1.4
   protected: 4.1.5
     omitted: none

perl-core/PodParser
    selected: 1.34
   protected: 1.32
     omitted: none

sys-devel/binutils-config
    selected: 1.8-r6


 ....


>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1


然后cd命令能用完,其他的命令都不能用
任何命令都提示
# ls
ls: relocation error: /lib/libpthread.so.0: symbol _h_errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

需要用livecd启动后,将stage3的压缩文件覆盖到对应的目录下,系统才能用,但只要一安装软件就出现这样的情况,怎么样才能正常安装软件呢
发表于 2007-1-25 09:06:05 | 显示全部楼层
用revdep-rebuild 试试看。如果这个命令有效,可能是dbus 升级带来的问题,在dbus 升级后有提示要用这个命令。建议你安装一个elogviewer 可以记录安装时的信息,elogviewer 在安装完毕后要在 make.conf里加东西,注意看清楚。
回复 支持 反对

使用道具 举报

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

本版积分规则

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