Thursday, July 5, 2012

Problem of Jpcap require libpcap.so.0.9 library solved

Hi All,

Jpcap is a java library which uses native C library (libpcap) for packet capturing.
Jpcap require libpcap version to be greater than 0.9. Recently I came across a strange problem. I had Redhat 6 Enterprise  edition linux. It has got libpcap 1.0.0 version installed. But jpcap failed to recognize it. So I made a soft link using following command

ln -s libpcap.so.1.0.0 libpcap.so.0.9

and it worked

thanks and regards
lalit patel




2 comments:

  1. This helped me immensely! Thanks Lalit.

    ReplyDelete
  2. Thanks a lot man! It works like a charm :D

    I'll upload a tutorial of JNetpcap as soon as possible on http://www.multiaportes.com/jnetpcap

    ReplyDelete