LinuxSir.cn,穿越时空的Linuxsir!

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

问个libexpat.so.0的问题

[复制链接]
发表于 2007-4-5 14:37:49 | 显示全部楼层 |阅读模式
装的时候用的是x86
然后emerge完系统后就改成~x86了
不小心把expat升级到2.0了
然后就出现常见的libxpat.so.0的问题了

我想revdep-rebuild --library libexpat.so.0
但是在emerge gettext时报错说找不到libexpat.so.0

我现在想问的是:
如果我把libexpat.so.15做成libexpat.so.0的链接
然后再emerge其它的软件
最后再emerge -e world行不行?
因为有好多东西要升级到~x86
我emerge -ueDN world 也可以吧?

因为机器比较慢,所以想先把想要的软件装上
然后有空再emerge -e world 可以吧?
发表于 2007-4-5 15:50:04 | 显示全部楼层
把expat降级
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-5 16:16:17 | 显示全部楼层
Û了后再升§?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-5 16:28:41 | 显示全部楼层
Post by desatan
把expat降级


是emerge -pv expat=1.95.8这样吗?
可是提示没有可用的ebuild
但是明明有啊
是不是我sync时同步到最新的它就不认了?
回复 支持 反对

使用道具 举报

发表于 2007-4-5 16:49:10 | 显示全部楼层
emerge -pv =expat-1.95.8
回复 支持 反对

使用道具 举报

发表于 2007-4-6 07:19:48 | 显示全部楼层
还可以这样:
echo "=dev-libs/expat-2.0.0" >> /etc/portage/package.mask && emerge -avuDN world
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-6 09:11:10 | 显示全部楼层
我还是作了一个链接
然后 emerge -tauvDN world

嘿嘿
没事把?
回复 支持 反对

使用道具 举报

发表于 2007-4-6 09:36:59 | 显示全部楼层
连接?不懂什么意思。。

desatan:
>2.0.0 也许比 =2.0.0 好一点。嘿嘿。兼容性好。。。啦啦。:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-6 19:38:38 | 显示全部楼层
我现在倒是觉得这个问题的确挺郁闷
有没有什么好的办法来处理这个问题?
1.
如果我强制降级expat到1.95.8,那么似乎问题就简单些了,但关键是我现在不想降呢?因为如果为了现在hold住了这个包,那么总不能hold住一辈子吧。
2.
如果我升级,然后emerge -avuDN world ,那么还有一堆软件包编译不能通过,看了一下信息,发现是因为KDE里的kdeconfig(可能是这个程序)要用到libexpat.so.0,这自然就成了问题。
3.
如果我emerge -e world,好像还是有一些软件包因为这个不能编译或者升级,再就是我已经装了KDE的大多数软件了,真的不想在短时间内这样干,特别是针对于我这种编译一个glibc要几个小时的破机器。
4.如果我revdep-rebuild --library libexpat.so.0,那么还是那个kdeconfig的问题有些kde包还是编译不能通过。

5.怎么办呢?我很想通过revdep-rebuild来解决这个问题,但似乎还真不好使,我怎么才能知道先编译哪个包才能使那个kdeconfig的问题解决?

我的机器是PIII1.2的,周一开始搞,现在又遇到这个问题了
看来两周能用上自己想要的gentoo就不错了
如果是debian半天就把想要的东西装好了,不过为了传说中的性能,再坚持一下吧。
。。。

再请牛人出点主意
回复 支持 反对

使用道具 举报

发表于 2007-4-6 21:44:30 | 显示全部楼层
have you searched bugs.gentoo.org?
would you please post your error messages verbatim here, as suggested in "how to ask questions the smart way"? I think you should have at least heard of this article.

Some background info and my suggestion:
I have used expat-2.0.0 since Apr. 3 last year. So prior to 2.0.0 version of expat is very old. IIRC, the transition from <2.0.0 to 2.0.0 did cause problem. If you used an old enough stage to install gentoo, you are guaranteed to repeat this problem.
So if ever possible, wait until the release of 2007.0. This way you could save yourself from repeating all the problems people have encountered in the past, like those annoying blockages.
回复 支持 反对

使用道具 举报

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

本版积分规则

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