Page 1 of 1

Linux Mint Kernel 4.5.0 /etc/init.d/vboxdrv setup failed

Posted: 6. Apr 2016, 04:46
by vampirex
Virtualbox Version 5.0.16 r105871
Linux Mint 17.3
Kernel 4.5.0 Generic

Trying to setup virtualbox with no success.

Any help is greatly appreciated.

Thanks!

Re: Linux Mint Kernel 4.5.0 /etc/init.d/vboxdrv setup failed

Posted: 6. Apr 2016, 14:35
by Perryg
You need to update your gcc for that kernel.

Re: Linux Mint Kernel 4.5.0 /etc/init.d/vboxdrv setup failed

Posted: 9. Apr 2016, 00:25
by vampirex
Thanks! it worked.

In case anyone is interested on the fix:

sudo apt-get install g++-4.9 c++-4.9
sudo ldconfig
cd /usr/bin/
ln -sf gcc-4.9 gcc
/etc/init.d/vboxdrv setup