Re: [sleuthkit-developers] Calling Sleuth Kit From JMS
Brought to you by:
carrier
From: Stuart M. <st...@ap...> - 2014-11-12 22:40:26
|
One useful trick I forgot to mention in my previous post in debugging issues with Java/JNI issues, and .so dependencies in general, is the use of the ldd command $ ldd /path/to/libtsk_jni.so If you see 'unresolved' against any dependencies, it basically says that the runtime link/loader would not be able to load that .so, and your program would not run, which is what you are seeing. You can see immediately the effects of the LD_LIBRARY_PATH variable in this respect, e.g. $ LD_LIBRARY_PATH=/usr/local/lib ldd /path/to/libtsk_jni.so which would likely give a different output to the initial ldd invocation, subject to the libtsk.so file being in /usr/local/lib. Stuart |