Using RCLI in Gentoo AMD64
We are operating a VMWare ESXi 3.5 server and is looking for way to perform operation on the VM via command line.
VMWare provides an API (which is a set of perl script) called RCLI (Remote Command Line Interface) and it provides the script in two flavor - Windows and Linux.
We want to issue the command on our Gentoo box which is running in 64 bit but the RCLI linux deliverable failed to deploy in 64 bit. Googling around noticed a patch to get around this.
Apply the patch by the following command
patch vmware-install.pl vmware-viperl-distrib.diff
After that, just install the script by,
./vmware-install.pl
It goes OK except a warning explaining the failure to bind with the perl module Crypt::SSLeay.
I guess it doesn’t exist on my box and thus I emerge this right after. Upon doing so, when I try to issue the command “vmware-cmd”, I was greeted with the following,
builder vmware-rcli-distrib # vmware-cmd
Can’t load ‘/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/XML/LibXML/Common/Common.so’ for module XML::LibXML::Common: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/XML/LibXML/Common/Common.so: wrong ELF class: ELFCLASS32 at /usr/lib64/perl5/5.8.8/x86_64-linux/DynaLoader.pm line 230.
at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/XML/LibXML.pm line 12
No help to google around but I suspect it’s again the missing of a proper perl module, so I emerge it again and try. Turns out I am right but I am seeing yet another error message on a different module. I repeat until I can execute “vmware-cmd” without an error.
Below is the list of module I have emerged,
- emerge Crypt-SSLeay
- emerge libxml-perl
- emerge XML-LibXML-Common
- emerge XML-LibXML
- emerge Class-MethodMaker
After that, all is running well.
No commentsInternet booming in China
Came across an annual report about internet development in China today and notice a significant adoption of internet usage in China.
Also, internet access is no longer for people living in big city. The increment in rural area and villages has outgrown those in the bigger city (60.8 vs 35.6%). What’s more, most of them are using broadband for internet access (around 90%), and surfing on the mobile phone has a significant gain as well (133%).
I think the explosion can be seen in two fold, one is the general public adoption while the other is the booming of our own internet application. We are now having all kinds of localized web application, which break down the language barrier for the user adoption.
Talking about web application, it is found that about 24% of the web site hosted in China is using PHP, which is the most popular languages among all.
The report is very informative and I am seeing that the internet user in China is now more comfortable in using this media to do things more than web browsing. The penetration of using the internet to do ecommerce might be coming soon.
No commentsThe iPhone that never sleep
I like my iPhone, the apps and games are wonderful. But I can only realize the true power after subscribing to a data plan.
See the above? I can now blog at anywhere, locate myself at any time and what’s more is to get the latest information on the road.
But are we not getting connected enough? Now, other devices, such as the digital camera or portable gaming console, can also gain access to the net.
I wonder when would we feel exhausted in sending update to our friends round the clock.
Before that, I will enjoy the using of my iPhone.


