Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] Wireshark dynamic linking with libpcap

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Munish Dayal <munish.dayal@xxxxxxxxxxx>
Date: Mon, 8 Sep 2008 16:25:53 +0530

Hi,
 
I have built Wireshark from source on my Linux RHEL 4 system, that has libpcap version 0.8.3 installed.
But when I try to run this Wireshark on a Linux system with RHEL 5 (libpcap version 0.9.4), I get an error:
 
"error while loading shared libraries: libpcap.so.0.8.3: cannot open shared object file: No such file or directory"
 
Obviously, Wireshark is looking for the same libpcap version as the one with which it was built.
 
My question is: how can I build Wireshark so that it is not statically linked to a particular libpcap version? Is there a way to dynamically link Wireshark with libpcap ?
Ideally it should be able to run on any system that has the same or newer version of libpcap available.
 
Regards,
Munish
 
 
 


"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility forloss or damage arising from the use of the information transmitted by this email including damage from virus."
  • Prev by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on Ubuntu-7.10-x86-64
  • Next by Date: [Wireshark-dev] Good day
  • Previous by thread: [Wireshark-dev] buildbot failure in Wireshark (development) on Ubuntu-7.10-x86-64
  • Next by thread: [Wireshark-dev] Good day
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation