VirtualBox can't use VirtualBox.so

Dan Turner dan.turner at york.ac.uk
Thu May 18 15:45:07 UTC 2017


Afternoon,

When running `vritualbox` I receive the following error:

VirtualBox: supR3HardenedMainGetTrustedMain:
dlopen("/usr/local/lib/virtualbox/VirtualBox.so",) failed:
/usr/local/lib/virtualbox/VirtualBox.so: Undefined symbol
"_ZN11QListWidget17setSelectionModelEP19QItemSelectionModel"

I have removed the offending .so and forced a reinstall of the affected
packages:

% sudo mv /usr/local/lib/virtualbox/VirtualBox.so ~/
% sudo pkg install  -f virtualbox-ose virtualbox-ose-kmod

The issue persisted un-changed after this attempt. The shasum of the .so:

% shasum -a 224 /usr/local/lib/virtualbox/VirtualBox.so
50edd4073f54eaab071bfe6588d7ac20f683ed01d1656cb6476cd390
/usr/local/lib/virtualbox/VirtualBox.so

FreeBSD version details:

% freebsd-version -uk
10.3-RELEASE-p7
10.3-RELEASE-p7

Installed package version:

% pkg info virtualbox-ose
virtualbox-ose-5.1.18
Name           : virtualbox-ose
Version        : 5.1.18
Installed on   : Thu May 18 16:34:32 2017 BST
Origin         : emulators/virtualbox-ose
Architecture   : FreeBSD:10:amd64
Prefix         : /usr/local
Categories     : emulators
Licenses       : GPLv2
Maintainer     : vbox at FreeBSD.org
WWW            : http://www.virtualbox.org/
Comment        : General-purpose full virtualizer for x86 hardware
<SNIP>
% pkg info virtualbox-ose-kmod
virtualbox-ose-kmod-5.1.18
Name           : virtualbox-ose-kmod
Version        : 5.1.18
Installed on   : Thu May 18 16:34:32 2017 BST
Origin         : emulators/virtualbox-ose-kmod
Architecture   : FreeBSD:10:amd64
Prefix         : /usr/local
Categories     : emulators kld
Licenses       : GPLv2
Maintainer     : vbox at FreeBSD.org
WWW            : http://www.virtualbox.org/
Comment        : VirtualBox kernel module for FreeBSD
<SNIP>

The kernel module is loaded:

% kldstat | grep vbox
40    3 0xffffffff82e5f000 4e626    vboxdrv.ko
41    1 0xffffffff82eae000 3f64     vboxnetadp.ko
42    1 0xffffffff82e4b000 2a02     vboxnetflt.ko

Feel free to contact me if you need any further details.


Regards,

Dan

-- 
Dan Turner
SkillsForge Ltd.
The Catalyst,
Baird Lane,
Heslington,
York,
YO10 5GA

EMAIL DISCLAIMER: http://www.york.ac.uk/docs/disclaimer/email.htm


More information about the freebsd-emulation mailing list