You are not logged in.

#1 2011-04-24 06:14:17

djura
Member
Registered: 2011-04-24
Posts: 13

virtualbox won't start after upgrade

Few days ago, I performed system upgrade, and now Virtualbox won't start. This is the error message I get:

VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/virtualbox/VBoxRT.so)

VirtualBox: Tip! It may help to reinstall VirtualBox.

During upgrade, both GCC and Virtualbox were upgraded. GCC version is 4.6.0-3, and Virtualbox is 4.0.6-1. Output of "strings /usr/lib/libstdc++.so.6 | grep GLIBCXX":

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

Can anybody give me a hint on fixing this? I would hate to downgrade back to previous version of virtualbox, but does it mean I'll have to wait for update to GCC?
Thanks for any help

Offline

#2 2011-04-24 07:48:03

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: virtualbox won't start after upgrade

pacman -Syu

fully update your system, inclusive gcc and glibc


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-04-24 12:41:58

djura
Member
Registered: 2011-04-24
Posts: 13

Re: virtualbox won't start after upgrade

I ran the command, but got no updates.

:: Synchronizing package databases...
 core                                                        37.8K  114.9K/s 00:00:00 [##################################################] 100%
 extra                                                      468.7K  217.9K/s 00:00:02 [##################################################] 100%
 community                                                  435.7K  151.7K/s 00:00:03 [##################################################] 100%
:: Starting full system upgrade...
 there is nothing to do

I update my system daily, and the above happend after the last GCC/Virtualbox update.
Is my GCC version (4.6.0-3) the last one available?

Offline

#4 2011-04-24 12:44:37

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: virtualbox won't start after upgrade

How about:

$ sudo /etc/rc.d/vboxdrv setup
$ sudo modprobe vboxdrv

ᶘ ᵒᴥᵒᶅ

Offline

#5 2011-04-24 14:15:41

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,546

Re: virtualbox won't start after upgrade

If you have a x86_64 system you need to enable the multilib repo

Offline

#6 2011-04-24 14:32:00

djura
Member
Registered: 2011-04-24
Posts: 13

Re: virtualbox won't start after upgrade

litemotiv wrote:

How about:

$ sudo /etc/rc.d/vboxdrv setup
$ sudo modprobe vboxdrv

Ya, I tried this too, but no luck. I think that problem is not vboxdrv module, but rather libstdc++ version

skunktrader wrote:

If you have a x86_64 system you need to enable the multilib repo

I do have x86_64 system. I had multilib repo enabled a while ago, but I disabled it since GCC packages were conflicting. Are you saying that I should use GCC from multilib repo? I'm affraid it will mess up other apps. What are the differencies between them, anyway?

Offline

#7 2011-04-24 14:52:15

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: virtualbox won't start after upgrade

do this:

pacman -Qo /usr/lib/libstdc++.so.6
pacman -Q glibc


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2011-04-24 15:11:19

kaivalagi
Member
From: Norwich, UK
Registered: 2009-11-05
Posts: 145

Re: virtualbox won't start after upgrade

I had the same issue as the OP until the latest updates which included glibc updates and now all is fine, thanks

So  after an update in the last 5 minutes, a vboxdrv rebuild and modprobe it's good to go again... incidently I now have the following versions which are working:
/usr/lib/libstdc++.so.6 is owned by gcc-libs 4.6.0-3
glibc 2.13-5

Thanks again


Running Arch 64 (Made the switch to Arch 10/2009)
AUR | BZR

Offline

#9 2011-04-25 05:35:34

djura
Member
Registered: 2011-04-24
Posts: 13

Re: virtualbox won't start after upgrade

root@localhost vlada]# pacman -Q gcc-libs-multilib
gcc-libs-multilib 4.5.2-4.2
[root@localhost vlada]# pacman -Q glibc
glibc 2.13-5

So, I guess gcc-libs-multilib should be replaced with gcc-libs from "Core" repo. How do I do that without screwing something up?

Offline

#10 2011-04-25 05:44:04

djura
Member
Registered: 2011-04-24
Posts: 13

Re: virtualbox won't start after upgrade

OK, I solved it. Just did

pacman -S core/gcc-libs

Thanks for your help , guys.

Offline

#11 2011-04-25 06:51:09

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: virtualbox won't start after upgrade

djura wrote:

OK, I solved it. Just did

pacman -S core/gcc-libs

Thanks for your help , guys.

or pacman -Syu since gcc-libs-multilib is at 4.6.0-3 too


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB