virtualbox startup error

Dale Scott dalescott at shaw.ca
Fri Aug 21 00:43:21 UTC 2020


I run vbox headless and install binaries using pkg. However, the kernel module MUST be compiled from source (I used to know why...  ;-))

install virtualbox-ose-nox11
use portsnap to install and/or update the ports tree
make install virtualbox-ose-kmod from the ports tree

Fwiw, I use phpvirtualbox for management, it's practically identical to the native VirtualBox UI (but does require configuring a web server).

Cheers,
Dale

----- Original Message -----
> From: "Gary Aitken" <freebsd at dreamchaser.org>
> To: "freebsd-questions" <freebsd-questions at freebsd.org>
> Sent: Thursday, August 20, 2020 2:01:59 PM
> Subject: virtualbox startup error

> First time attempting to run virtual box, not sure where to go from here:
> 
> $ pkg info | grep virtualbox
> virtualbox-ose-5.2.44          General-purpose full virtualizer for x86 hardware
> virtualbox-ose-additions-5.2.44 VirtualBox additions for FreeBSD guests
> virtualbox-ose-kmod-5.2.44     VirtualBox kernel module for FreeBSD
> 
> $ kldstat
> Id Refs Address            Size     Name
>  1   15 0xffffffff80200000 206c860  kernel
>  2    1 0xffffffff8226e000 15cf0    fuse.ko
>  3    1 0xffffffff82421000 2408     ums.ko
>  4    1 0xffffffff82424000 76cc     tmpfs.ko
>  5    1 0xffffffff8242c000 1bc0     umodem.ko
>  6    1 0xffffffff8242e000 3c58     ucom.ko
>  7    1 0xffffffff82432000 53a60    vboxdrv.ko
> 
>  11.3-RELEASE-p6
> 
> ~$ virtualbox
> VirtualBox: supR3HardenedMainGetTrustedMain:
> dlopen("/usr/local/lib/virtualbox/VirtualBox.so",) failed:
> /usr/local/lib/virtualbox/VirtualBox.so: Undefined symbol
> "_ZN15QLinearGradientD1Ev at Qt_5"
> 
> hints?
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list