7

After I installed the lastest Ubuntu version, VMware didn't work. I just cliked and nothing. After I tried export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1/:$LD_LIBRARY_PATH vmware I got this error:

enter image description here

Also, I tried sudo apt-get install build-essential linux-headers-generic and it says everything's up to date and there's no update available.

And I tried sudo /etc/init.d/vmware start command and I got this:

enter image description here

What's the problem?

123
  • 551
  • 4
  • 7
  • 18

6 Answers6

9

Try running

sudo apt-get install build-essential linux-headers-generic

then open your vmware & in 1st window and click Install, wait for about 7 mins & vmware will be open.

Zanna
  • 70,465
2

For kernel 3.x version - install the package gcc-4.9

sudo apt-get install --reinstall gcc-4.9

For kernel 4.x version - install the package gcc-5

sudo apt-get install --reinstall gcc-5

To always have the latest version installed

sudo apt-get install --reinstall gcc
cl-netbox
  • 31,163
  • 7
  • 94
  • 131
A.B.
  • 90,397
2

None of the other solutions here worked for me using Ubuntu 15.10 and vmware 12.1 pro, which was asking for gcc 4.9.2

The problem was caused by ld path (dynamic libs), and I needed to fix vmware as follows:

cd /usr/lib/vmware/modules/source
tar xvf vmnet.tar
cd vmnet-only
make
cd ..
tar xvf vmmon.tar
cd vmmon-only
make
cd ..
mkdir /lib/modules/`uname -r`/misc
cp vmmon.o /lib/modules/`uname -r`/misc/vmmon.ko
cp vmnet.o /lib/modules/`uname -r`/misc/vmnet.ko
depmod -a
/etc/init.d/vmware restart
nano /usr/bin/vmware

add before set -e :

export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1/:$LD_LIBRARY_PATH

Save & exit and launch Vmware!

Complete thread here : https://communities.vmware.com/thread/521374

Zanna
  • 70,465
1

First open Console and type:

git clone https://github.com/mkubecek/vmware-host-modules.git

Then change current directory:

cd vmware-host-modules

Now checkout branch:

git checkout player-16.0.0

After this you have to compile it, install it and either restart or start vmware:

Now type:

make

It's time to install compiled files:

sudo make install

Time to Start VMware:

sudo /etc/init.d/vmware start

Note: this worked for my Vmware 16 Player, i hope this would be helpful for you, keep in prayers Thank you!

1

I had this worked on ubuntu 22.04. This will match the vmware version you have with your current kernel.

wget https://github.com/mkubecek/vmware-host-modules/archive/player-x.y.z.tar.gz
tar -xzf player-x.y.z.tar.gz
cd vmware-host-modules-workstation-x.y.z
make
sudo make install

Switch x,y,and z with the vmware version you have, e.g. mine is player-16.2.3. Then, restart your computer.

Yahyaotaif
  • 215
  • 1
  • 2
  • 9
1

I found a solution:

/usr/bin/gcc-5

It works for me.

techraf
  • 3,316