[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libpcap.so.0 or libpcap.a?



to read about static and dynamic libraries on linux, go to:

http://www.dirac.org/p/linux/libraries.html

pete

On Wed 13 Dec 00, 11:17 PM, Tor Slettnes said...
> >>>>> "meepmeep" == meepmeep  <neophyte@when2click.com> writes:
> 
>     meepmeep> I'm trying to compile dsniff and when I try to configure
>     meepmeep> it, it complains that it cannot find libcap.a.  I found
>     meepmeep> a libpcap.so.0 somewhere else.  Is this the equivalent
>     meepmeep> or does this specifically need libpcap.a?
> 
> No.  ".a" files (archives) contain several object files (.o) for
> static linking.  Thus, these are named "static libraries".
> 
> ".so" libraries are "shared objec" libraries, linked to at runtime.
> 
> Because so much of the basic code in an operating system is common
> from one application to another, it would be a terrible bloat to link
> in all library functions statically in every program.  Thus, shared
> libraries are typically used as often as possible.
> 
> To find out what debian package contains a particular file, go to:
> 
>    http://www.debian.org/distrib/packages
> 
> In the last search box, enter "libpcap.a".
> 
> Hint: Static .a libraries are usually found in -dev packages.
> 
> -tor
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
------------------------------------------------------------------   linux
To err is human, to forgive is divine.      p@belial.ucdavis.edu       -
To oink is porcine, to meow is feline.    http://www.dirac.org/p      ._.
To neigh is equine to howl is lupine,                                 /v\
To moo is bovine to bleat is ovine.                                  // \\
------------------------------------------------------------------   ^^ ^^
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D   rules

Attachment: pgpW4eC3bUbg0.pgp
Description: PGP signature


Reply to: