Wireshark-dev: [Wireshark-dev] Wireshark dynamic linking with libpcap
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."