Connecting Tech Pros Worldwide Forums | Help | Site Map

Net::PcapUtils;

Newbie
 
Join Date: Sep 2007
Posts: 31
#1: Oct 8 '08
My script has the
Expand|Select|Wrap|Line Numbers
  1. use Net::PcapUtils; 
in, and then when i run it, there comes an error message that says
Expand|Select|Wrap|Line Numbers
  1. Can't locate loadable object for module Net::Pcap------- Compilation failed in require at C:/Perl/lib/Net/PcapUtils at line 64.
But in line 64 of PcapUtils there just reads
Expand|Select|Wrap|Line Numbers
  1. use Net::Pcap;
so whats wrong?

KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#2: Oct 8 '08

re: Net::PcapUtils;


Is Net::Pcap installed?

I'm not sure what the "loadable object" refers to. Maybe ask on www.perlmonks.com if nobody here knows what the problem is.
Newbie
 
Join Date: Sep 2007
Posts: 31
#3: Oct 8 '08

re: Net::PcapUtils;


Hmm dunno if its installed, i just added it to Net folder
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#4: Oct 8 '08

re: Net::PcapUtils;


Quote:

Originally Posted by über

Hmm dunno if its installed, i just added it to Net folder

You have to install the modules. The loadable object is probably a file that is created when the module is installed and since you did not install the module that is probably the source of the problem.
Newbie
 
Join Date: Sep 2007
Posts: 31
#5: Oct 8 '08

re: Net::PcapUtils;


Quote:
You have to install the modules.
But how i could do that?
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#6: Oct 8 '08

re: Net::PcapUtils;


Quote:

Originally Posted by über

But how i could do that?


Ask your system administrator or your web host. If you have neither see if this link helps:

http://www.cpan.org/misc/cpan-faq.ht...l_Perl_modules
Reply