VMware {code} Community
marck004
Contributor
Contributor

vmreconfig Throws XPathContext Error

I installed the VMTools via the VMware-vsphere-Perl-SDK-5.5.0 tar.  I also verified XPathContext.pm is installed; however, when I attempt to run vmreconfig.pl I get an error.

#> ./vmreconfig.pl --filename new-vmconfig.xml

Can't load class 'XML::Lib::XML::XPathContext' as /usr/lib/perl5/5.8.8/VMWare/VIMRuntime.pm line 52

I have confirmed the installation of the perl module via:

#> perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC' | grep XPathContext

/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XML/LibXML/XPathContext.pm

I did notice that the vmreconfig is calling perl from the lib directory whereas XPathContext is in the lib64 directory, but I am uncertain if this matters.  the server OS is 64 bit but I did not find a dedicated 64 bit VMware install.

Can anyone offer any thoughts or suggestions on what I could try to get vmreconfig working?

Thanks!

Reply
0 Kudos
0 Replies