learn2earn has asked for the wisdom of the Perl Monks concerning the following question:

I get this trying to use arsperl build 190_701, I have perl version 5.8.8 build 822, installed and hello.pl works..so I am stuck on this error. I installed the arsperl190_701 and PPM verifies the install so I am not sure what the ? is wrong with this.
PerlScript Error error '80004005' Can't load 'C:/Perl/site/lib/auto/AR +S/ARS.dll' for module ARS: load_file:The specified module could not b +e found at C:/Perl/lib/DynaLoader.pm line 229. at (eval 2) line 1613 +Compilation failed in require at (eval 2) line 1613. BEGIN failed--co +mpilation aborted (in cleanup) Can't load 'C:/Perl/site/lib/auto/ARS/ +ARS.dll' for module ARS: load_file:The specified module could not be +found at C:/Perl/lib/DynaLoader.pm line 229. at (eval 2) line 1613 Co +mpilation failed in require at (eval 2) line 1613. BEGIN failed--comp +ilation aborted /base/core.asp, line 347
I have the remedyApi files on the drive in path c:\remedyAPI

Replies are listed 'Best First'.
Re: dynaloader.pm error
by Anonymous Monk on Jan 13, 2010 at 18:29 UTC
    Did you check for error messages in Application Log in Event Viewer? Did you check ARS.dll with dependencywalker?
      no help there all dependent files are loaded onto the machine, I install the same way on a windows 2003 box with sp2 and I don't have this problem. My new destination is a virtual server running VMWARE and 2003 SP1, I do the exact same steps on my box and they work. I can get the version of arsapi from my test version.pl file and it returns version number. 9 just like it does on my test box. I thought I had this beat but apparently on my vmware server its still the same problem. here is the error.. Can't load 'C:/Perl/site/lib/auto/ARS/ARS.dll' for module ARS: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 206. Compilation failed in require at (eval 2) line 1613. BEGIN failed--compilation aborted (in cleanup) Can't load 'C:/Perl/site/lib/auto/ARS/ARS.dll' for module ARS: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 206. Compilation failed in require at (eval 2) line 1613. BEGIN failed--compilation aborted comments above line 206..
      # Many dynamic extension loading problems will appear to come from # this section of code: XYZ failed at line 123 of DynaLoader.pm. # Often these errors are actually occurring in the initialisation # C code of the extension XS file. Perl reports the error as being # in this perl code simply because this was the last perl code # it executed.
        no help there all dependent files are loaded onto the machine,

        No, the error message is telling you that they are not all loaded. If you use EventViewer or DependencyWalker you can see exactly which file is missing. You might want to do this from VMWARE session.