Page 1 of 1

Building virtual box 6.0.22, trying to load kext on MAC

Posted: 28. Jul 2020, 09:22
by matrixhooda
I was able to compile virtualbox sources on High Sierra MacOS.

Now 5.2.20 was working fine when i was loading the VBoxDrv.kext file.

With 6.0.22, when i tried to load VBoxDrv.kext

sudo kextutil -v 2 /Applications/VBoxDrv.kext
I am getting the following output now.

Code: Select all

Defaulting to kernel file '/System/Library/Kernels/kernel'
/Applications/VBoxDrv.kext appears to be loadable (not including linkage for on-disk libraries).
Loading /Applications/VBoxDrv.kext.
Reading load info for 6 kexts.
Created mkext for architecture x86_64 containing 1 kexts.
(kernel) Received request from user space to load kext org.virtualbox.kext.VBoxDrv.
(kernel) kxld[org.virtualbox.kext.VBoxDrv]: The following symbols were defined more than once:
(kernel) kxld[org.virtualbox.kext.VBoxDrv]:    _memcpy: 0xffffff7f99cc697f - 0xffffff8016b93050
(kernel) Can't load kext org.virtualbox.kext.VBoxDrv - link failed.
(kernel) Failed to load executable for kext org.virtualbox.kext.VBoxDrv.
(kernel) Kext org.virtualbox.kext.VBoxDrv failed to load (0xdc008016).
(kernel) Failed to load kext org.virtualbox.kext.VBoxDrv (error 0xdc008016).
Failed to load /Library/StagedExtensions/Applications/VBoxDrv.kext - (libkern/kext) link error.
Failed to load /Applications/VBoxDrv.kext - (libkern/kext) l
I am getting the issue The following symbols were defined more than once: & _memcpy: 0xffffff7f99cc697f - 0xffffff8016b93050. Can anyone help me with this ?