how do I resolve error can't locate loadable object for module win32::lanman in @INC contains

Posted on 2013-08-29
Medium Priority
Last Modified: 2013-08-29
I received an iso file with WASSP (Windows Automated Security Scanning Program (software)) software on it
I mounted it on a linux server to get the contents of the software program
I zipped the files/folders
I then copied the zip file to a windows 2003 server
unzipped the files/folders
Executed the runwassp.bat script as indicated in the readme.txt file

It gave the following error message:
can't locate loadable object for module win32::Lanman in at INC contains: <directory paths>
compilation failed in require at <something something> wassp.pl line 5
Begin failed --compilation aborted at wassp.pl line 5 press any key to continue

I looked at line 5 in the wassp.pl script and it reads:
use win32::lanman

Could someone help me resolve this issue I am not familiar with the software or Perl
Question by:sikyala
  • 2
  • 2

Expert Comment

by:Suhas .
ID: 39448989
You get this error when the module win32::lanman is not installed in your machine.

Author Comment

ID: 39449005
how would I get it installed
LVL 28

Assisted Solution

FishMonger earned 2000 total points
ID: 39449200
I looked at line 5 in the wassp.pl script and it reads:
use win32::lanman
Is that exactly how it's in the script?  Perl is case sensitive so that use statement should be:
use Win32::Lanman;

Open in new window

If the module was not installed, I'd expect the error to be:
Can't locate Win32/Lanman.pm in @INC

can't locate loadable object for module
That normally indicates that you're missing one or more supporting (.dll or .so) files that the module needs.  I've never used that module so I can't say what support file(s) it needs.

I was going to suggest that you (re)install the module via cpan, but I can't find it there, so you may need to talk with the people that supplied the iso.
LVL 28

Accepted Solution

FishMonger earned 2000 total points
ID: 39449253
With a little more searching, I did find it on cpan, but it hasn't been maintained in over 10 years so "buyer beware".


I'm sure there are several other modules that are currently being maintained which could be used as a replacement.

CPAN search for Win32 modules

Author Comment

ID: 39449295
ok thanks great info

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question