您的位置:首页 > 大数据 > 人工智能

Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so

2014-12-18 17:40 711 查看
被这个问题困惑了好几天,终于解决了,解决方法如下:

When I try to install VMWare Workstation 9.0.1,on CentOS 6.4 i386, I get the following error:

[root@centos]# ./vmware-workstation-full-9.0.1-894247.i386.bundle Extracting VMware Installer...done.

Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory

Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

Solution for installing VMWare Workstation 9 on CentOS

first you need to install yum install PackageKit-gtk-module and yum install libcanberra

yum install PackageKit-gtk-module

yum install libcanberra

This occurs because the requested gtk modules aren’t in any of the paths defined in /etc/ld.so.conf.d/*

To correct this I did the following:

for 32 bit version, copy this in Terminal

echo "/usr/lib/gtk-2.0/modules" > /etc/ld.so.conf.d/gtk2.conf

ldconfig

for 64 bit version, copy this in Terminal

echo "/usr/lib64/gtk-2.0/modules" > /etc/ld.so.conf.d/gtk2.conf

ldconfig

Solution for installing VMWare Workstation 9 on Ubuntu

for 32 bit version, copy this in Terminal

sudo ln -s /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib/libcanberra-gtk-module.so

for 64 bit version, copy this in Terminal

sudo ln -s /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib/libcanberra-gtk-module.so

finally,running `ldconfig` as root.The VMWare Workstation installer should now be able to find the requested modules
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐