Gentoo: !!! existing preserved libs问题解决

!!! existing preserved libs:
>>> package: media-libs/libmng-2.0.2-r1
 *  - /usr/lib/libmng.so.1
 *  - /usr/lib/libmng.so.1.0.0
 *      used by /opt/kingsoft/wps-office/office6/qt/plugins/imageformats/libqmng.so (app-office/wps-office-9.1.0.4751_alpha15)
>>> package: media-libs/lcms-1.19-r2
 *  - /usr/lib/liblcms.so.1
 *  - /usr/lib/liblcms.so.1.0.19
 *      used by /usr/lib/libmng.so.1 (preserved)
 *      used by /usr/lib/libmng.so.1.0.0 (preserved)

Use emerge @preserved-rebuild to rebuild packages using these libraries

折腾好久终于解决了,问题具体出在哪处不太清楚,仅供参考!

折腾过程:

1. emerge @preserved-rebuild 不起作用。

2. 重装wps-office,再@preserved-rebuild,不起作用。

3. 重装media-libs/libmng、package: media-libs/lcms不起作用。

emerge media-libs/libmng

emerge media-libs/lcms

emerge --depclean

revdep-rebuild

4.卸载wps-office(一直无法解决,想卸载暂时放弃使用),preserved libs提示消失:

emerge -C wps-office

emerge --depclean

emerge @preserved-rebuild


5.第二天安装wps-office,成功无preserved libs提示:

echo "app-office/wps-office WPS-EULA" >> /etc/portage/package.license  (之前安装没有添加license,成功安装无错误提示,不知道是不是这个原因引起的)

emerge wps-office

Gentoo Linux安装MongoDB

VMware 8.0下安装Gentoo Linux

Gentoo Linux x86快速安装指南对Grub引导不成功的补救措

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/17347.html