+ -
当前位置:首页 → 问答吧 → OO你个XX...

OO你个XX...

时间:2010-06-11

来源:互联网

testing里的gcc 4.5.0-5...
代码:
/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
代码:
$ locate libmpfr
/usr/lib/libmpfr.a
/usr/lib/libmpfr.so
/usr/lib/libmpfr.so.4
/usr/lib/libmpfr.so.4.0.0
原因是mpfr也升级了,倒是命名很奇怪啊...
引用:
upgraded mpfr (2.4.2-2 -> 3.0.0-1)
2.4.2的是libmpfr.so.1.2.2
3.0.0的是libmpfr.so.4.0.0
我知道做个链接可以暂时解决,但我还是要借地方怨念一下...

作者: huntxu   发布时间: 2010-06-11

这种事情,在Arch下再正常不过了,我都习惯了。

作者: alpha.gu   发布时间: 2010-06-12

是呀!

开了testing就得习惯这种事情。

作者: jqxl0205   发布时间: 2010-06-12

用testing的就不要抱怨了,那本来就是测试用的,不帮忙测试交bug的话还是别用了

作者: ashunter   发布时间: 2010-06-12

gcc4.5需要用到mpfr,你装个就可以了
sudo pacman -Ss mpfr

作者: guanyhu   发布时间: 2010-06-12