Page 1 of 1

/usr/lib/virtualbox/check_module_dependencies.sh: not found

Posted: 4. Jun 2020, 21:39
by Adam_Ullrich56
Hello, I've been trying to compile VirtualBox from source code, but when I tried to rebuild VirtualBox kernel modules I get this error:

Code: Select all

$ cd VirtualBox-6.1.8
$ ./out/linux.amd64/debug/bin/vboxdrv.sh setup
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
./out/linux.amd64/debug/bin/vboxdrv.sh: 460: /usr/lib/virtualbox/check_module_dependencies.sh: not found
How can I fix this problem?
Thanks in advance

Re: /usr/lib/virtualbox/check_module_dependencies.sh: not found

Posted: 4. Jun 2020, 23:27
by Adam_Ullrich56
I figured it out. All I had to do is this:

Code: Select all

source ./env.sh