in reply to Re: Installing MQSeries cpan module nmake issue
in thread Installing MQSeries cpan module nmake issue

Thanks....I used a copy from Visual Studio 9 and used it. it made ok.
test has all "OK" at the bottom but some failed tests and the nmake install seemed ok too.

so basically, now i have the error:
Can't load 'C:/Perl/site/lib/auto/MQClient/MQSeries/MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 230. at xxxxxxxx line 14

Here is what came out of my nmake test
\blib\lib', '..\blib\arch')" t/*.t
t/10constants.....Can't load 'C:\MQSeries-1.28\blib\arch/auto/MQClient/MQSeries/ MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module coul d not be found at C:/Perl/lib/DynaLoader.pm line 230. at t/10constants.t line 22
Compilation failed in require at t/10constants.t line 22. BEGIN failed--compilation aborted at t/10constants.t line 22.
t/10constants.....dubious
Test returned status 2 (wstat 512, 0x200)
t/20convert.......Can't load
'C:\MQSeries-1.28\blib\arch/auto/MQClient/MQSeries/ MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module coul d not be found at C:/Perl/lib/DynaLoader.pm line 230.
at t/20convert.t line 23 Compilation failed in require at t/20convert.t line 23. BEGIN failed--compilation aborted at t/20convert.t line 23. t/20convert.......dubious
Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/30basic.........Can't load 'C:\MQSeries-1.28\blib\arch/auto/MQClient/MQSeries/ MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module coul d not be found at C:/Perl/lib/DynaLoader.pm line 230.
at t/30basic.t line 23 Compilation failed in require at t/30basic.t line 23. BEGIN failed--compilation aborted at t/30basic.t line 23. t/30basic.........dubious
Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-17
Failed 17/17 tests, 0.00% okay t/40oo-qmgr.......Can't load
'C:\MQSeries-1.28\blib\arch/auto/MQClient/MQSeries/ MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module coul d not be found at C:/Perl/lib/DynaLoader.pm line 230.
at t/40oo-qmgr.t line 23 Compilation failed in require at t/40oo-qmgr.t line 23. BEGIN failed--compilation aborted at t/40oo-qmgr.t line 23. t/40oo-qmgr.......dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/50oo-command....Can't load
'C:\MQSeries-1.28\blib\arch/auto/MQClient/MQSeries/ MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module coul d not be found at C:/Perl/lib/DynaLoader.pm line 230. at t/50oo-command.t line 23
Compilation failed in require at t/50oo-command.t line 23. BEGIN failed--compilation aborted at t/50oo-command.t line 23. t/50oo-command....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/60-logs.........Can't load
'C:\MQSeries-1.28\blib\arch/auto/MQClient/MQSeries/ MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module coul d not be found at C:/Perl/lib/DynaLoader.pm line 230. at t/60-logs.t line 19
Compilation failed in require at t/60-logs.t line 19. BEGIN failed--compilation aborted at t/60-logs.t line 19. t/60-logs.........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/70-config.......Can't load 'C:\MQSeries-1.28\blib\arch/auto/MQClient/MQSeries/ MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module coul d not be found at C:/Perl/lib/DynaLoader.pm line 230. at t/70-config.t line 19
Compilation failed in require at t/70-config.t line 19. BEGIN failed--compilation aborted at t/70-config.t line 19. t/70-config.......dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10constants.t 2 512 ?? ?? % ??<br t/20convert.t 2 512 6 12 200.00% 1-6
t/30basic.t 2 512 17 34 200.00% 1-17
t/40oo-qmgr.t 2 512 9 18 200.00% 1-9
t/50oo-command.t 2 512 1 2 200.00% 1
t/60-logs.t 2 512 1 2 200.00% 1
t/70-config.t 2 512 1 2 200.00% 1
Failed 7/7 test scripts, 0.00% okay. 35/35 subtests failed,
0.00% okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2'
Stop.
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '.. \blib\lib', '..\blib\arch')" t/*.t t/dlq....ok All tests successful.
Files=1, Tests=1, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '..
\blib\lib', '..\blib\arch')" t/*.t t/pcf....ok All tests successful.
Files=1, Tests=19, 0 wallclock secs ( 0.00 cusr + 0.00
csys = 0.00 CPU) C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '.. \blib\lib', '..\blib\arch')" t/*.t
t/10constants.....ok
t/20convert.......ok
t/30basic.........ok
t/40oo-qmgr.......ok
t/50oo-command....ok
t/60-logs.........ok
t/70-config.......ok
All tests successful.
Files=7, Tests=3438, 4 wallclock secs ( 0.00 cusr + 0.00
csys = 0.00 CPU)
  • Comment on Re^2: Installing MQSeries cpan module nmake issue

Replies are listed 'Best First'.
Re^3: Installing MQSeries cpan module nmake issue
by syphilis (Archbishop) on May 09, 2008 at 13:41 UTC
    Can't load 'C:/Perl/site/lib/auto/MQClient/MQSeries/MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 230. at xxxxxxxx line 14

    I think that's telling you that the MQSeries.dll couldn't be loaded because some other dll (probably one of the IBM dll's) could not be found. To make the missing dll locatable, it's usually just a matter of adding that dll's location to the path environment variable.

    Did you get a pop-up along with that error message ? (I think one often does get a pop-up, and the pop-up actually tells you the name of the dll that couldn't be found.)

    Cheers,
    Rob
Re^3: Installing MQSeries cpan module nmake issue
by Anonymous Monk on May 09, 2008 at 13:45 UTC
      How do I find out which .dll ?

      There was no popup - altho it would make it easier if there was!! Thanks