On Jun 1, 3:08 am, Viju <
mail2vija...@gmail.com> wrote:
> System.loadLibrary("jpcap").
>
> at this place am getting a linking error :
>
> java.lang.UnsatisfiedLinkError: Cannot load library:
> link_image[1962]: 32 could not load needed library 'libpcap.so.0.9'
> for 'libjpcap.so' (load_library[1104]: Library 'libpcap.so.0.9' not
> found)
Where does that .so live on the device? Is it in the native libs
directory of your app?
Try System.load() instead, giving a full path to the library. (Don't
actually ship your app with a hard-coded full path -- do this to see
if the problem is that the library isn't where the system is trying to
find it.)