Centos installs vmware error "pk-gtk-module" "canberra-gtk-module" to solve the problem,
System Platform: RHEL6.1 X86 32bit
Software Version: VMware-Workstation-Full-8.0.0-471780.i386.bundle
Note: applicable to other platforms and other VMware-Workstation versions. To run the VM after installation, enter the serial number.
1. First download the latest version from the official website, and then grant the executable permission to the local device.
# Chmod + xVMware-Workstation-Full-8.0.0-471780.i386.bundle
2. Execute the installation. A graphical installation interface can be displayed, but the following error message is displayed.
#./VMware-Workstation-Full-8.0.0-471780.i386.bundle
ExtractingVMwareInstaller... done.
Gtk-Message: Failedtoloadmodule "pk-gtk-module": libpk-gtk-module.so: cannotopen#dobjectfile: Nosuchfileordirectory
Gtk-Message: Failedtoloadmodule "canberra-gtk-module": libcanberra-gtk-module.so: cannotopen#dobjectfile: Nosuchfileordirectory
3. Solve the above Gtk error, mainly because the corresponding module cannot be found.
3.1 first, determine whether the required module system is installed and its location.
# Locatelibpk-gtk-module.so
/Usr/lib/gtk-2.0/modules/libpk-gtk-module.so
# Locatelibcanberra-gtk-module.so
/Usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
3. 2. Add the path for the system to load modules.
# Vim/etc/ld. so. conf. d/gtk-2.0.conf
/Usr/lib/gtk-2.0/modules
3. Reload.
# Ldconfig
Re-execute the installation, and then click Next.
/VMware-Workstation-Full-8.0.0-471780.i386.bundle
ExtractingVMwareInstaller... done.
Note:
Locate: can not stat () '/var/lib/mlocate. db': No such file or directory
If this error occurs, run updatedb.