I have one java application that is using JNA to load c library1, this library1 is linked to library2(librt.s0) in which nanosleep symbol is present. I am not getting a way, how to link this library2(librt.so) with my java application. I tried to load this librt.so using System.load("...") in the beginning of java application, but did not get any help. I need your help. I am facing this problem on Solaris_x86 Thank you so much in advance!