Troubleshooting Problems with VMware installation under Linux
- Troubleshooting Problems with VMware installation under Linux
- Error message
- Problem 1liboverlay-scrollbar.so and libunity-gtk-module.so failed to load.
- Issue 2 Gtk-warning * *: Unable to find the theme engine in the module path: "Murrine"
- Issue 3 Unable to load libcanberra-gtk-module.so problem
This article by Mob Lym fabricated, welcome reprintblog.cnblogs.net/oloroso
This article by Mob Lym fabricated, welcome reprintmy.oschina.net/oloroso
System Environment Ubuntu-kylin 15.04
[email protected]:~/software$ uname -aLinux o-pc 3.19.0-22-generic #22-Ubuntu SMP Tue Jun 16 17:15:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Error message
Gtk-Message: Failed to load module "overlay-scrollbar": liboverlay-scrollbar.so: 无法打开共享对象文件: 没有那个文件或目录Gtk-Message: Failed to load module "unity-gtk-module": libunity-gtk-module.so: 无法打开共享对象文件: 没有那个文件或目录(vmware-installer.py:1593): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“murrine”,...(vmware-installer.py:1593): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“murrine”,Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: 无法打开共享对象文件: 没有那个文件或目录
Question 1
liboverlay-scrollbar.so
And
libunity-gtk-module.so
The problem of load failure.
The solution to this problem is very simple, we read the wrong information first. Here is Gtk-Message
a message, the Gtk
solution is sudo
to use to run the installation program, the error will disappear. The cause is a permission issue.
[email protected]:~/software$ sudo ./VMware-Workstation-Full-11.1.2-2780323.x86_64.bundle Extracting VMware Installer...done.(vmware-installer.py:6469): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“murrine”,...(vmware-installer.py:6469): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“murrine”,Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: 无法打开共享对象文件: 没有那个文件或目录
Issue 2 Gtk-warning * *: Unable to find the theme engine in the module path:
“murrine”
The cause of this error should not be installed gtk2-engines-murrine
, then install it.
Issue 3 failed to load
libcanberra-gtk-module.so
The problem
Look for this first libcanberra-gtk-module.so
.
[email protected]:~/software$ locate libcanberra-gtk-module.so/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so
Found two, then which one to use? Regardless of it, two are added to the system's dynamic library load configuration.
- Create two files First:
sudo touch /etc/ld.so.conf.d/gtk-2.0.conf
sudo touch /etc/ld.so.conf.d/gtk-3.0.conf
- Add
.so
the path to the two files.
Use VIM to open and pay attention to permissions.
sudo vim /etc/ld.so.conf.d/gtk-2.0.conf
Then insert the previously searched path
/usr/lib/x86_64-linux-gnu/gtk-2.0/modules
For another file, another path is added. I won't say it here. In fact, as long as this one is enough.
ldconfig
under Reload, pay attention to permissions Oh.
sudo ldconfig
- Re-run
sudo ./VMware-Workstation-Full-11.1.2-2780323.x86_64.bundle
What if the problem is not on libcanberra-gtk-module.so
the machine?
This is not easy, installation is.
sudo apt-get install libcanberra*
This command installs a lot of extra stuff. You should just install libcanberra0
, libcanberra-gtk-module
and libcanberra-gtk3-module
you can.
Troubleshooting Problems with VMware installation under Linux