primp@ubuntu-test:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty
primp@ubuntu-test:~$ sudo apt-get install libxml-libxml-perl
[sudo] password for primp:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libxml-libxml-common-perl libxml-namespacesupport-perl libxml-sax-expat-perl libxml-sax-perl
The following NEW packages will be installed:
libxml-libxml-common-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-expat-perl libxml-sax-perl
0 upgraded, 5 newly installed, 0 to remove and 51 not upgraded.
Need to get 523kB of archives.
After this operation, 2064kB of additional disk space will be used.
Do you want to continue [Y/n]? y
.......
primp@ubuntu-test:~$ sudo apt-get install libclass-methodmaker-perl
.......
primp@ubuntu-test:~$ sudo apt-install libcrypt-ssleay-perl
.......
primp@ubuntu-test:~$ tar -zxvf VMware-vSphere-CLI-4.0.0-161974.i386.tar.gz
.......
primp@ubuntu-test:~$ cd vmware-vsphere-cli-distrib/
primp@ubuntu-test:~/vmware-vsphere-cli-distrib$ sudo ./vmware-install.pl
Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI.
Installing version 161974 of vSphere CLI
You must read and accept the vSphere CLI End User License Agreement to
continue.
Press enter to display it.
......
<stick with the defaults>
......
Please wait while copying vSphere CLI files...
The installation of vSphere CLI 4.0.0 build-161974 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
"/usr/bin/vmware-uninstall-vSphere-CLI.pl".
This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.
Enjoy,
primp@ubuntu-test-32bit:~$ esxcfg-nas -l --server himalaya.primp-industries.com --username root
Enter password:
dlgCore-NFS-bigboi.VM-Backups is /exports/XXXXXX from A.B.C.D mounted
primp@ubuntu-test:~$ sudo apt-get install libxml-libxml-perl
[sudo] password for primp:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libxml-libxml-common-perl libxml-namespacesupport-perl libxml-sax-expat-perl libxml-sax-perl
The following NEW packages will be installed:
libxml-libxml-common-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-expat-perl libxml-sax-perl
0 upgraded, 5 newly installed, 0 to remove and 51 not upgraded.
Need to get 523kB of archives.
After this operation, 2064kB of additional disk space will be used.
Do you want to continue [Y/n]? y
.......
primp@ubuntu-test:~$ sudo apt-get install libclass-methodmaker-perl
.......
primp@ubuntu-test:~$ tar -zxvf VMware-vSphere-CLI-4.0.0-161974.x86_64.tar
.......
primp@ubuntu-test:~$ cd vmware-vsphere-cli-distrib/
primp@ubuntu-test:~/vmware-vsphere-cli-distrib$ sudo ./vmware-install.pl
Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI.
Installing version 161974 of vSphere CLI
You must read and accept the vSphere CLI End User License Agreement to
continue.
Press enter to display it.
......
<stick with the defaults>
......
Please wait while copying vSphere CLI files...
The installation of vSphere CLI 4.0.0 build-161974 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
"/usr/bin/vmware-uninstall-vSphere-CLI.pl".
This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.
Enjoy,
primp@ubuntu-test-64bit:~$ esxcfg-nas -l --server himalaya.primp-industries.com --username root
Enter password:
dlgCore-NFS-bigboi.VM-Backups is /exports/XXXXXX from A.B.C.D mounted
I'm using 9.04-server-amd64.iso downloaded at: http://ftp.ucsb.edu/pub/mirrors/linux/ubuntu/jaunty/ubuntu-9.04-server-amd64.iso
I'm using ubuntu-9.04-server-i386.iso downloaded from Ubuntu's website.
Looks like 64bit is ubuntu-9.04-server-amd64.iso and 32bit is ubuntu-9.04-server-i386.iso
If I have some time this weekend, I'll try the 32bit installer and see where that goes.
Hi William.
I followed your document and started with a new fresh Ubuntu minimal server installation and after that I installed the two packages libxml-libxml-perl and libclass-methodmaker-perl. Next I installed vCLI and I was able to run vmware-cmd --help without issues.
However, when I tried to run the following:
vmware-cmd --server <ip_address> 'datastore1 test1/test1.vmx' getstate
I get the following error:
"Hiding the command line arguments: symbol lookup error: /usr/lib/perl/5.10/auto/Crypt/SSLeay/SSLeay.so: undefined symbol: Perl_Tstack_sp_ptr"
I installed package libssl-dev but this did not help. I assume that it is still necessary to install the following packages:
Linker utility (binutils package)
GNU C libraries (glibc or libc6 package)
XML DOM/SAX libraries (libxml2 package)
Perl documentation (perl-doc) package
Perl URI library (liburi-perl package)
As I wrote in my post: http://communities.vmware.com/thread/230428?tstart=0
Any ideas?