[ERROR message]You appear to lack the pcap library.
Am trying to run a perl script that needs to run some perl libraries it has many dependencies....one of them is 'Net::Packet' but when i try to install it using cpan it downloads but then I get this error message:
Code:
CPAN.pm: Building S/SA/SAPER/Net-Pcap-0.16.tar.gz greets nattan |
Not sure if this will help, but have you checked if that lib is installed?
Code:
slackpkg search libpcap |
Yes i have it installed....
Code:
:~# slackpkg search libcap Code:
libcap: /lib/libcap.so /lib/libcap.a /usr/man/man3/libcap.3.gz /usr/man/man3p/libcap.3.gz /usr/share/man/man3/libcap.3.gz /usr/share/man/man3p/libcap.3.gz /usr/X11/man/man3/libcap.3.gz /usr/X11/man/man3p/libcap.3.gz |
You have the libcap installed, not the libpcap. Get it with
Code:
slackpkg install libpcap |
thanks for your answer but when i try to use the command line you suggested me it says that there's no package matching my search....
|
Most probably this means you already have it installed, otherwise slackpkg would have detected and installed it. Just in case, check if you have it installed (don't forget the "p" after lib)
Code:
slackpkg search libpcap If this still doesn't help, check out this thread for a solution. It seems that the library and its devel version have been a little bit messed up at that time. No idea if it's fixed by now, but it's worth a try. |
All times are GMT -5. The time now is 06:48 PM. |