Is my libpcap properly installed?

I am trying to compile a package which requires libpcap. When I
do the following:

dpkg -l 'lib*' | grep libpcap

I get the following result:

ii libpcap0.7 0.7.2-7 System interface for user level ...

I also checked this by using:

ls -l /usr/lib/libpcap*

and it produced the following result:

/usr/lib/libpcap.so.0.7 -> libpcap.so.0.7.2
/usr/lib/libpcap.so.0.7.2

However when I check for the header files associated with this library
i.e. pcap.h and bpf.h, they are no where on the entire system:

find / -name pcap.h -print

does not produce any result.

As a result, the program I am trying to compile produces errors when
trying to 'make'.

What is wrong with the installation of libpcap on my system which is
Sarge Debian 3.1r3.

Any help would be greatly appreciated. Thanks in advance.

A.

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Is my libpcap properly installed?

On Wed, 2007-02-28 at 23:29 -0800, anonymous wrote:
> I am trying to compile a package which requires libpcap. When I
> do the following:

*WHAT* are you trying to compile?

Don't be ashamed to tell us. We can only help you if you give us info.

more than likely you need the libpcap-dev package.

You should also do upgrades on any security and major patches.

Remember, when you compile... usually you need the "-dev" packages.

"apt-cache search libpcap dev" will give you the package name.
--
greg,

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

--

Is my libpcap properly installed?

On Mar 1, 1:00 pm, Greg Folkert wrote:
> On Wed, 2007-02-28 at 23:29 -0800, anonymous wrote:
> > I am trying to compile a package which requires libpcap. When I
> > do the following:
>
> *WHAT* are you trying to compile?
>
> Don't be ashamed to tell us. We can only help you if you give us info.
>
> more than likely you need the libpcap-dev package.
>
> You should also do upgrades on any security and major patches.
>
> Remember, when you compile... usually you need the "-dev" packages.
>
> "apt-cache search libpcap dev" will give you the package name.

Thanks a lot. This really helped. I installed libpcap0.7-dev and my
compilation proceeded smoothly.

Thanks again.

> --
> greg,
>
> Novell's Directory Services is a competitive product to Microsoft's
> Active Directory in much the same way that the Saturn V is a competitive
> product to those dinky little model rockets that kids light off down at
> the playfield. -- Thane Walkup
>
> --

Syndicate content