Matlab MCR in ubuntu Amazon ec2 - matlab

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

Related

VS code giving error when installing extension

Hi guys im encountering an error when I try to install extension for VS Code in elementary. It gives an error as Failed to install 'felixfbecker.php-intellisense' when i try to install by downloading manually it says ENOENT: no such file or directory, mkdir
Inside the developer console it shows the same error for 1st method also. I have installed VS Code using the deb file with sudo.
It was a permission issue solved it using
this

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

Error Database back up in centos

I try to run pg_dump on CentOS 6 but some error occur:
error while loading shared libraries: liblber-2.3.so.0: cannot open
shared object file: No such file or directory
I already ran #yum install compat-openldap but that error still happens.
Any idea to fix this?

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

iPython/jupyter notebook fails to start "image not found"

Trying to start iPython/jupyter notebook crashes giving the following error:
ImportError: dlopen(/Library/Python/2.7/site-packages/zmq/backend/cython/constants.so, 2): Library not loaded: /opt/local/lib/libzmq.3.dylib
Referenced from: /Library/Python/2.7/site-packages/zmq/backend/cython/constants.so
Reason: image not found
Tracked down a solution here:
https://github.com/zeromq/pyzmq/issues/493
Something had gone wrong with the install of pyzmq but uninstalling via macports or pip then reinstalling didn't get rid of the problem files.
Deleting the zmq directories from /Library/Python/2.7/site-packages/ then reinstalling using pip fixed this.