Menu

#5 Libpcap.so Not Found

v1.0_(example)
open
nobody
1
2014-12-11
2013-08-15
Anonymous
No

i am getting this error when use sharpcap with monomac in mac

system.dllnotfoundexception : libpcap.so at (wrapper managed-to-native) SharpPcap.LibPcap.LibPcapSafeNativeMethods:pcap_findalldevs (intptr&,System.Text.StringBuilder)
at SharpPcap.LibPcap.LibPcapLiveDeviceList.GetDevices () [0x00000] in <filename unknown="">:0
at SharpPcap.LibPcap.LibPcapLiveDeviceList.Refresh () [0x00000] in <filename unknown="">:0
at SharpPcap.LibPcap.LibPcapLiveDeviceList..ctor () [0x00000] in <filename unknown="">:0
at SharpPcap.LibPcap.LibPcapLiveDeviceList.get_Instance () [0x00000] in <filename unknown="">:0
at TempPro1.CaptureDeviceList..ctor () [0x00000] in <filename unknown="">:0
at TempPro1.CaptureDeviceList.get_Instance () [0x00000] in <filename unknown="">:0
at TempPro1.MainClass.Main (System.String[] args) [0x00000] in <filename unknown="">:0

Discussion

  • Anonymous

    Anonymous - 2014-02-07
    Post awaiting moderation.
  • Guy Harris

    Guy Harris - 2014-12-11

    OS X uses ".dylib", not ".so", for shared libraries. If SharpPcap is loading libpcap at run time, on OS X it needs to load libpcap.dylib, not libpcap.so.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.