I need to compile tcpdump and libpcap or a linux distribution using kernel 2.2.19 and glibc 2.0. I have built a debian slink system on which to develop.
I have what I believe to be a workable compile; but, I am confused on several issues: [1] What are differences between libpcap.a and the libpcap.so* files? -rw-r--r-- 1 root root 85920 Mar 29 1998 /usr/lib/libpcap.a lrwxrwxrwx 1 root root 12 Dec 16 18:37 /usr/lib/libpcap.so -> libpcap.so.0 lrwxrwxrwx 1 root root 16 Dec 23 21:20 /usr/lib/libpcap.so.0 -> libpcap.so.0.4a6 -rw-r--r-- 1 root root 64264 Mar 29 1998 /usr/lib/libpcap.so.0.4a6 -rw-r--r-- 1 root staff 123990 Dec 24 09:43 /usr/local/lib/libpcap.a [2] How do programs know which libpcap.a to use? [3] Why is the newer libpcap.a 50% larger than the older one? [4] Should there be a libpcap.so.0.6.2 ? If so, should it be linked to libpcap.so and libpcap.so.0 ? [5] Which libpcap* will be used during a compile of tcpdump on this system? [6] Why is there such a difference in sizes for tcpdump? -rwxr-xr-x 1 root staff 291358 Dec 23 16:24 /usr/local/sbin/tcpdump -rwxr-xr-x 1 root root 102352 Mar 29 1998 /usr/sbin/tcpdump Even after strip: -rwxr-xr-x 1 root staff 252912 Dec 23 16:26 /usr/local/sbin/tcpdump What do you think? -- Best Regards, mds mds resource 888.250.3987 Dare to fix things before they break . . . Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
