Installing VMware Workstation issue (Failed to load module "canberra-gtk-module") - vmware-workstation

all! Just trying to install VMware Workstation 10 at Kali linux and get the following error:
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
where troubleshooting should be started?

From https://communities.vmware.com/thread/453282
As for the GTK errors re: canberra-gtk-module, they're innocuous. You may ignore them.
I got the same Gtk-message, but the installation seems to be still proceeding.

Related

Can not compile hello word program of Swift

I was going to use Swift/t and normally I started to with HELLO WORLD code from the gallery. Unfortunately, I encountered compiling error as follow:
zsh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
May you please provide me some hints that may help me to resolve the issue.
This kind of errors (bash/zsh: error while loading shared libraries: ...) appear when you don't have a library installed on your system.
In your case, your missing library is libtinfo, on its version 5. You should be able to search and install it throught your system's package manager.
Just as an example, in Ubuntu you can install it by:
sudo apt install libtinfo5

libreoffice5.1.3 error while loading shared libraries: libdbus-glib-1.so.2

I installed libreoffice5.1.3 on my VPS centos 7
when i try to launch libreoffice it is showing following error
libreoffice5.3 javaldx: Could not find a Java Runtime Environment! Warning: failed to read path from javaldx /opt/libreoffice5.3/program/soffice.bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file
How can i resolve it
Thank you in advance
Maybe is later but try to install this package:
yum install libdbus-glib-1.so.2
So after require this packages:
libdbus-glib-1.so.2
libcairo.so.2
libcups.so.2libSM.so.6
If it is, install all

Matlab MCR in ubuntu Amazon ec2

After installing MCR on Ubuntu, I cant run my code. The following is the error that I get. I tried googling but cant solve the problem.
./run_HPC_Location_Replacer.sh /usr/local/MATLAB/MATLAB_Compiler_Runtime/v83
Setting up environment variables
LD_LIBRARY_PATH is .:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83/sys/os/glnxa64
An Error has occurred while trying to initialize the MCR.
The error is: Fatal error loading library /usr/local/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwmclbase.so Error: libXt.so.6: cannot open shared object file: No such file or directory
Error:mclmcr initialization failed
I run into the same problem on my EC2 instance, and seems like it is missing the package lixbt6.
The problem got fixed after I did sudo apt-get install libxt6

Installation of distcc 3.1 on Sun Solaris

I am trying to install distcc 3.1 on one of the Sun Solaris platform.
After extracting the files to a folder I run configure (script which basically checks the required configuration).
This script throws out the following error
make: Fatal error in reader: Makefile, line 471: Unexpected end of line seen
after this if I run make or make install command I get another error and I am not able to proceed with the installation. Please help me with the correct installation process or guide me on how to resolve this Make issue.
this error occurs when the version of distcc installed is not compatible with your O.S. Install the package again this time for your own OS. Example - I installed distcc 2.13 for solaris 9 from www.sunfreeware.com.
I hope this helps !!
Thanks

libxml-ruby on windows xp problem

About a month ago I installed libxml-ruby using
gem install libxml-ruby
and it worked fine.
Then i went to install it on another machine today and it failed with this error:
C:\Windows\system32>gem install -r libxml-ruby
Building native extensions. This could take a while...
ERROR: Error installing libxml-ruby:
ERROR: Failed to build gem native extension.
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake RUBYARCHDIR=c:/ruby/lib/ruby/
gems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-60/lib RUBYLIBDIR=c:/ruby/lib/ruby/g
ems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-60/lib
'c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake' is not recognized as an int
ernal or external command,
operable program or batch file.
Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/libxml-ruby-1.
1.3-x86-mswin32-60 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-6
0/ext/mingw/gem_make.out
I have rake installed and win32-api
I then got confused if I had really installed libxml-ruby on my machine previously and tried uninstalling and reinstalling it. It now fails with the same error message on my machine and some scripts i've written to parse xml, which used to work, no longer work. Has anyone else tried installing libxml-ruby lately on windows xp? It appears to be completely broken.
I got the same problem, and ended up figuring out a decent work-around.
It seems the error is correct
'c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake'
isn't a valid executable. It needs to run rake from the root ruby/bin folder, where the wrapping batch file can be found.
Rummaging through the rubygems code, I found that Gem::Ext::RakeBuilder tries to build extensions using
cmd = ENV['rake'] || Gem.bin_path('rake') rescue Gem.default_exec_format % 'rake'
So, simply setting the rake environment variable to something valid before running the gem install should help:
C:\>set rake=c:\ruby-1.8.6-26\bin\rake.bat
C:\>gem install libxml-ruby --no-rdoc --no-ri
Building native extensions. This could take a while...
Successfully installed libxml-ruby-1.1.3-x86-mswin32-60
1 gem installed
(I skipped installing rdoc and ri because it prints out a bunch of formatting warnings, making it more difficult to paste the results in here.)