Why do I get a java error "libXt.so.6: cannot open shared object file: No such file or directory" when installing PolySpace on a Linux workstation?
Show older comments
When trying to install PolySpace on a Linux workstation with command '/mnt/install.sh', I get the following java error:
...
java.lang.UnsatisfiedLinkError:
/tmp/install.dir.23636/Linux/resource/jre/lib/i386/libawt.so: libXt.so.6:
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
...
It could also happen:
- when launching a verification using the report generation:
*** Beginning Report generation
... Fatal error loading library /usr/local/PolySpace/PolySpace_Common/ReportGenerator/MCR/x86-linux/bin/glnx86/libmwmclmcr.so Error: libXp.so.6: cannot open shared object file: No such file or directory
- when using Polyspace Metrics and trying to load some results using web browser. In catalina.out file we can see a message like the following:
SEVERE: Servlet.service() for servlet PolySpaceWebUI threw exception
java.lang.LinkageError: libXpm.so.4: cannot open shared object file: No such file or directory
at com.mathworks.toolbox.javabuilder.internal.DynamicLibraryUtils.dlopen(Native Method)
at com.mathworks.toolbox.javabuilder.internal.DynamicLibraryUtils.loadLibraryAndBindNativeMethods(DynamicLibraryUtils.java:131)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.<clinit>(MWMCR.java:1574)
...
Accepted Answer
More Answers (0)
Categories
Find more on Set Up Bug Finder Analysis on Servers During Continuous Integration in Help Center and File Exchange
Products
Release
No release entered yet.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!