RSS Feed for This PostCurrent Article

VMware RCLI, Windows, and libxml2 errors

If you install the VMware RCLI under Windows and are getting libxml2-related errors, log out and log back in so the environment variable changes from the install take effect.

I was getting errors similar to:

Can't load 'C:/Program Files/VMware/VMware VI Remote CLI/Perl/site/lib/auto/XML/LibXML/Common/Common.dll' for module XML::LibXML::Common: load_file:The specified module could not be found at C:/Program Files/VMware/VMware VI Remote CLI/Perl/lib/DynaLoader.pm line 230.

with corresponding dialog boxes about libxml2.dll.

Popularity: 5% [?]

| Comments

Trackback URL

  1. 1 Comment(s)

  2. By Casper42 on Nov 20, 2009 | Reply

    Call me lazy or impatient, but I found the following works.

    CD to C:\Program Files\VMware\VMware vSphere CLI\Perl\bin

    then run the commands like this:
    ..\..\bin\vmware-cmd.pl -option -option -option, etc

    Because your launching from the Perl\bin command, all the DLLs are now available.
    .. just means go up 1 folder level.
    so ..\..\bin takes you from CLI\Perl\bin to CLI\bin

  1. 1 Trackback(s)

  2. Jan 7, 2008: Underwhelmed by the Remote CLI - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers

Post a Comment

 

Please note that while in principle I don't mind promotion of a non-personal web site or blog in the fields below, any comments that are off-topic, derogatory, or spam-like will likely be removed at my discretion.