Issue:

I am getting error when running IFace SDK Java sample: Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'iface': Native library (linux-x86-64/libiface.so) not found in resource path (...)


Cause:

The problem is caused either by not found shared library (i.e. libiface.so) or by its missing internal-dependent libraries. 


Solution (Linux):

Ensure that the library is either available in default system shared library location (i.e. /usr/lib or /usr/lib/x86_64-linux-gnu etc.) or the path to it is properly set in environment variable LD_LIBRARY_PATH. If this does not resolve the issue, run command $ ldd <PATH_TO_LIBRARY> (e.g. /usr/lib/libiface.so) and see if all its dependencies have satisfied links. If not, install the missing libraries.