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

Esteemed Monks,

I have run into a problem with PAR on Win32. I am ashamed to admit I'm sure it's a problem that's been run into before, but I have not found an answer. In my defense, googling it and searching this site leads to limited results for PAR beyond the manpages.

Following is a listing of my attempts. The script is in the network folder the command is being run from. My first attempt resulted in an exe, but I got a "The procedure entry point Perl_llockhook_ptr could not be located in the dynamic link library perl58.dll" error. My second attempt, where I tried to specify my include modules, resulted in the same error (though I also tried running this from the command line and received the below results).
Z:\APPS\jobs\trades>pp -o emperror.exe emperror.pl Z:\APPS\jobs\trades>pp -M Cwd -M DBI -o emperror.exe emperror.pl Z:\APPS\jobs\trades>emperror.exe install_driver(Oracle) failed: Can't load 'C:\DOCUME~1\blah\LOCALS~1\T +emp\par _priv.3576.tmp\KIBlgMNosR.dll' for module DBD::Oracle: load_file:The s +pecified p rocedure could not be found at D:/cpanrun/build/5-8-0/lib/DynaLoader.p +m line 229 . at ../blib/lib/PAR/Heavy.pm line 92 Compilation failed in require at (eval 11) line 3. Perhaps a required shared library or dll isn't installed where expecte +d at script/emperror.pl line 20
Line 3 of the script is "use DBI". I do have DBD::Oracle installed, but my D drive is my CD, so I'm not sure why it would reference "D:/cpanrun/build/5-8-0/lib/DynaLoader.pm line 229".

If anyone can offer some words of wisdom, I'd be appreciative. . .

Replies are listed 'Best First'.
Re: par procedure entry point error
by shonorio (Hermit) on Aug 29, 2005 at 17:12 UTC
    Have you looked inside PAR package to verify if the Oracle dll are included on package ?

    Try to rename the .exe file to .zip and open by any Zip manager file (like Winzip) and compare this structure with main outside structure.

    I'd had problem is the past with the case of files/directory name of Win32::Lanman module, where the all file and dirctory name where in low case, and the module has the first letter in upper case.

    Solli Moreira Honorio
    Sao Paulo - Brazil

      Interestingly, I can't find the dll noted in the error message on my PC at all. . . do you know if it would be a matter of simply including it into the existing archive, or would I need to use the command line and specifically require it when creating the exe?
Re: par procedure entry point error
by Anonymous Monk on Aug 30, 2005 at 01:44 UTC