Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

fatal: librt.so.1: version `SUNW_1.2' not found?

LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in Jtest
How do I fix this?
When I try to run Jtest on Solaris 8 I get this message:

CODE
Error: tgsutil not loaded
java.lang.UnsatisfiedLinkError: /devel/home/parasoft/jtest5/plugins/com.parasoft
..eclipse.api.solaris_5.1.51/jtest/lib/libtgsutil.so: ld.so.1: /devel/home/parasoft/jtest5/plugins/com.parasoft.eclipse.api.solaris_5.1.51/jtest/JRE/1.4/bin/java
: fatal: librt.so.1: version `SUNW_1.2' not found

How do I work around this problem?

Answer:

You will need to set your environment variable, LD_NOVERSION=yes. For example, in bash:

/usr/local/jtest/> export LD_NOVERSION=yes

In csh:

/usr/local/jtest/> setenv LD_NOVERSION yes

The is is caused by an eventual incompatibility between the differing Java versions on the machine as well as the packages and patches that were applied to the machine. For now, please use set the LD_NOVERSION environment variable to "yes".
Tagged: