in reply to Re^3: Dynaloader not loading LibXML
in thread Dynaloader not loading LibXML

I can dir the folder in question from a network drive and see the contents, so I don't think that's the problem. I've also run Perl from this network before, this is just a new computer I'm running from.

Thanks for the info re perl5lib, but I only added that in an attempty to fix this problem, so I don't think it's the root.

Replies are listed 'Best First'.
Re^5: Dynaloader not loading LibXML
by syphilis (Archbishop) on Apr 26, 2016 at 23:42 UTC
    Thanks for the info re perl5lib, but I only added that in an attempt to fix this problem, so I don't think it's the root.

    Yes, on further reflection I agree - it's altering which XML::LibXML gets loaded, but that should be all.

    Looking at the msdn documentation for that error it says:
    be sure to separate directories from subdirectories with a backslash
    Forward slashes are usually fine with perl but I wonder if they're messing things up over the network drive.
    Admittedly, one would think if that's the case then it would surely have come up before now.

    And we don't even know which path it is that's invalid.
    All we know is that 'C:/Strawberry/perl/vendor/lib/auto/XML/LibXML/LibXML.xs.dll' can't be loaded.

    You have checked that both the "vendor" and "site" installations of XML::LibXML are similarly affected ?

    I'm out of straws ...

    Cheers,
    Rob

        OK, thanks for all the advice, I've got depends producing output, it's too long to go into a post but you can get it here: http://pastebin.com/Pdb3rdY2. If anyone can help me make sense of this, I would be extremely grateful. It ends with 'failure to start process', which doesn't sound very promising.

        Here's the end of the report:

        Error: At least one module has an unresolved import due to a missing e +xport function in an implicitly dependent module. Error: Modules with different CPU types were found. Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing + export function in a delay-load dependent module. ---------------------------------------------------------------------- +---------- Starting profile on 27/04/2016 at 12:14:47 Operating System: Microsoft Windows NT/2000/XP/2003/Vista based Profes +sional (64-bit), version 6.01.7601 Service Pack 1 Program Executable: c:\strawberry\perl\bin\PERL.EXE Program Arguments: batch_xml2html.pl Search Path: C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86 +)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\s +ystem32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\Windo +wsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\1 +0.0\DLLShared\;C:\Program Files\Intel\Intel(R) Management Engine Comp +onents\DAL;C:\Program Files\Intel\Intel(R) Management Engine Componen +ts\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Compon +ents\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Comp +onents\IPT;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared +\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\ +Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Progr +am Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Progr +am Files (x86)\Roxio\OEM\AudioCore\;C:\Program Files (x86)\Riverbed\S +teelhead Mobile\;C:\Program Files (x86)\Skype\Phone\;C:\PHP\;C:\Progr +am Files (x86)\ValidatorBuddy;C:\Program Files (x86)\Microsoft Visual + Studio 9.0\VC\bin\;C:\Program Files (x86)\sox-14-4-1\;C:\mplayer-svn +-37278\;C:\lame\; C:\Program Files\7-Zip\;C:\strawberry\perl\bin\;C:\ +Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C +:\Program Files (x86)\PuTTY\ Options Selected: Simulate ShellExecute by inserting any App Paths directories into + the PATH environment variable. Log DllMain calls for process attach and process detach messages. Hook the process to gather more detailed dependency information. Log LoadLibrary function calls. Log GetProcAddress function calls. Log debug output messages. ---------------------------------------------------------------------- +---------- Failure starting the process. The request is not supported (50).