Centos installs vmware error & quot; pk-gtk-module & quot; canberra-gtk-module & quot; To solve the problem,

Source: Internet
Author: User
Tags gtk

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.