I am trying to run simple program using jnetpcap library in CentOS maching but its giving: java.lang.UnsatisfiedLinkError: /usr/lib/libjnetpcap.so: libpcap.so.0.9: cannot open shared object file: No such file or directory.
I have put "libjnetpcap.so" downloaded from jnetpcap-1.3 Linux (Generic) inside "/usr/lib" and also set LD_LIBRARY_PATH=/usr/lib.
Please help me, what can be the reason?