This article will give some tips to find the origin of UnsatisfiedLinkError's in the backup client. This error occurs when java tries to load a native library (.so) but cannot do so bacause the library file cannot be found or cannot be loaded because of missing dependencies.
Backup Client native libraries
The Backup Client has 2 native libraries.
On 64 bit systems this library is called libjras64.so and just libjras.so on 32 bit systems .
On 64 bit systems this library is called libdb64.so and just libdb.so on 32 bit systems .
Both libraries must be in the installation directory of the Backup Client. Also make sure that the correct libraries are available for the architecture (32/64 bit).
Checking for library dependencies
The jras and db libraries also have dependencies on other system libraries like libc for instance. If any of these libraries are not available or not in the library path anUnsatisfiedLinkError will result. To check what system libraries are referenced and also if they are reachable or not, use the ldd command. Open a terminal in the Backup Client installation directory and run
depending on the architechture. The ldd command will then list all the library dependencies and also show which dependant libraries are not reachable. Any reported problems have to be addressed (e.g. missing libraries will have to be installed etc) before the Backup Client will start up properly.
 Or where java runs in 32 bit mode on a 64 bit system
Old Article ID: 74
Previous Views: 24330
Posted: 18 Aug, 2011 by Van Rensburg J.