VMware RCLI, Windows, and libxml2 errors

by Bob Plankers on December 11, 2007 · 2 comments

in Virtualization

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.

Related posts:

  1. Static IPs with the VMware RCLI Virtual Appliance
  2. VMware VirtualCenter 2 and Windows Vista
  3. Browser Errors? Ditch the Toolbars
  4. Windows 7 Beta and VI Client
  5. Changing VMware vCenter Logging on Windows Server 2008

{ 1 comment… read it below or add one }

Casper42 November 20, 2009 at 3:46 PM

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

Reply

Leave a Comment

{ 1 trackback }

Previous post:

Next post: