May 3, 2008

Installing VMware Server 1.0.5 in Ubuntu 8.04 Hardy Heron

It's me again with another how-to VMware in Ubuntu...

Well as you might know, VMware have not updated their VMware versions to the latest kernel(nor GCC nor Gnome libs), so the task is kinda hard... the best advice for newbies is to wait, wait, and wait for VMware to release a supported version.

Steps:

1. Get VMware Server from www.vmware.com(don't forget to get the serial too) since we're using Ubuntu you should get the tar.gz file.

2. Install build-essential linux-kernel-devel and linux-headers-generic(or the one you're using), extract the vmware tar.gz file right click -> "extract here" or:

tar xvvzf VMware-server-1.0.5-80187.tar.gz
3. Run the installer:
cd vmware-server-distrib
sudo ./vmware-install.pl
follow all the instructions... but DO NOT RUN vmware-config.pl

4. Get vmware-any-any-update-116.tgz from http://groups.google.com/group/vmkernelnewbies/files?hl=en actually you can get vmware-any-any-update-116-bridge-wireless.tgz that includes wireless support(I believe).

5. Run the any-any updates:
tar xvvf vmware-any-any-update-116.tgz
cd vmware-any-any-update116
sudo ./runme.pl
And select yes on run vmware-config.pl

6. Select your favorite options :)

7. Now, you have it installed... then RUN IT :)
vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
Nice error... I like that hehe, we're screw... are we?... well nop actually.

8. VMware is complaining about some missing libraries, and these are mainly GUI libraries(libcairo)... so what we do? we copy them to the VMware libs directory:
cd /usr/lib/vmware/lib/
sudo mv libpng12.so.0/libpng12.so.0 libpng12.so.0/libpng12.so.0.disabled
sudo ln -sf /usr/lib/libpng12.so.0 libpng12.so.0/libpng12.so.0
sudo mv libgcc_s.so.1/libgcc_s.so.1 libgcc_s.so.1/libgcc_s.so.1.disabled
sudo ln -sf /lib/libgcc_s.so.1 libgcc_s.so.1/libgcc_s.so.1
9. Try to run your VMware again... and yes, we see the light at the end of the tunel :):
vmware


10 comments:

Oerb said...

Hi Igor!
Mono is my Favored Project on Linux, hopefully that it will destroy the last Wall to Linux in my Company.

But I'had have some Problems with your HowTo wich I' fixed by google. But in that case that I often find the Link to your Page hopefully you will put it to your Howto for the others to save Time ;-).

First at all you need to install xined because it ist not installed in Ubuntu 8.04.
Then hear the Fix which works on Ubuntu 8.04 i386 and hopefuylly in x64 too:
cd /usr/lib/vmware/lib/
sudo mv libpng12.so.0/libpng12.so.0 libpng12.so.0/libpng12.so.0.disabled
sudo ln -sf /usr/lib/libpng12.so.0 libpng12.so.0/libpng12.so.0
sudo mv libgcc_s.so.1/libgcc_s.so.1 libgcc_s.so.1/libgcc_s.so.1.disabled
sudo ln -sf /lib/libgcc_s.so.1 libgcc_s.so.1/libgcc_s.so.1

Igor said...

Hi,

I also see many potential on Mono, and I think is just the best open source project out there :)...

xined? what's that?, I believe you might want to say... xinetd?

Anyway, why is needed?

Richard said...

ehmmm meta, i believe u have a theme copycat on pp's blog jejeje, anyway, back to the topic, i still looove vmware fusion...

Igor said...

@Richard, no actually my theme is based on another theme... ejem I almost pick PP's template :D, but I believe this one is better and more _professional_.

Anonymous said...

VirtualBox ftw!

Igor said...

@Anonymous: same here :), but some people use VMware, in my case, because at work we have some precreated VMware virtual machines.

But you know, thinking about it, all free virtualization products are really good.

Anonymous said...

Thanks for the tutorial.

What is uninstalled?

Igor said...

You mean how to uninstall it?

Just run:

sudo vmware-uninstall.pl

Prathyush said...

Hi Igor!

I get this error when
/usr/bin/vmware-config.pl is run
after choosing the default directories.
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "4.1.2", while you are trying to use
"/usr/bin/gcc" version "4.2.3". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.2.3" anyway? [no]

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Thanks in advance

Marconi Poveda said...

@igor: this is why you need xinetd

Unable to find any instance of the super-server "inetd" or "xinetd". It is
possible that you do not have one of these packages installed on this machine.
Please install "inetd" or "xinetd".

If you do have "inetd" or "xinetd" installed, make sure that /etc/inetd.conf or
/etc/xinetd.d exists.
The configuration will continue, but you should re-run
/usr/bin/vmware-config.pl after you fix the super-server.

Hit enter to continue.

mapo@mobile:


I couldn't go on, until installed it.

Nice tutorial bro! You're terrific!

disclaimer



Things written in this blog are my personal thoughts or points of view, and do not represent at all the position of my employer.

Code in the website is licensed under The MIT License

Content of this blog is:
Creative Commons License
Licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.