Hello everyone,

I have an issue with the GNSDK java wrapper. I managed to get it to work on windows just fine. But when I try to get it to work on a linux machine (x86_64), I get:

java.lang.UnsatisfiedLinkError: com.gracenote.gnsdk.gnsdk_javaJNI.swig_module_init()V
        at com.gracenote.gnsdk.gnsdk_javaJNI.swig_module_init(Native Method)
        at com.gracenote.gnsdk.gnsdk_javaJNI.<clinit>(
        at com.gracenote.gnsdk.GnManager.<init>(
        at com.triplay.gracenote.GracenoteManager.init(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(

I get this exception when running: new GnManager(libraryPath, licensePath, GnLicenseInputMode.kLicenseInputModeFilename)

libraryPath is: /usr/local/lib/gnsdk

Which contains the following files:

And licensePath is pointing to our license file.

Any ideas what may be causing this?


We will try to reproduce this error, and get back to you as soon as possible.

Thanks. A few more details:


1) This is happening with tomcat 8.0.20

2) I set -Djava.library.path=/usr/local/lib/gnsdk

3) I set LD_LIBRARY_PATH to /usr/local/lib/gnsdk as well

4) Also added /usr/local/lib/gnsdk to shared.loader under


Forum Discussions