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?
显示 更早的评论
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)
...
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Set Up Bug Finder Analysis on Servers During Continuous Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!