tcpdump mailing list archives

Re: Dynamic linking with libpcap


From: Munish Dayal <munish.dayal () aricent com>
Date: Wed, 10 Sep 2008 16:50:35 +0530


ls -l /usr/lib/libpcap.*
-rw-r--r-- 1 root root 242398 Jul 13  2006 /usr/lib/libpcap.a
lrwxrwxrwx 1 root root     16 Sep 10 16:24 /usr/lib/libpcap.so -> libpcap.so.0.9.4
lrwxrwxrwx 1 root root     16 Jul  9 17:21 /usr/lib/libpcap.so.0 -> libpcap.so.0.9.4
lrwxrwxrwx 1 root root     16 Jul  9 17:21 /usr/lib/libpcap.so.0.9 -> libpcap.so.0.9.4
-rwxr-xr-x 1 root root 168544 Jul 13  2006 /usr/lib/libpcap.so.0.9.4

ls -l /usr/local/lib/libpcap.*
ls: /usr/local/lib/libpcap.*: No such file or directory


-----Original Message-----
From: tcpdump-workers-owner () lists tcpdump org [mailto:tcpdump-workers-owner () lists tcpdump org] On Behalf Of Guy 
Harris
Sent: Wednesday, September 10, 2008 3:39 PM
To: tcpdump-workers () lists tcpdump org
Subject: Re: [tcpdump-workers] Dynamic linking with libpcap


On Sep 9, 2008, at 10:21 PM, Munish Dayal wrote:

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"

What do the commands

        ls -l /usr/lib/libpcap.*

        ls -l /usr/local/lib/libpcap.*

print?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

"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."
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: