I've installed VirtualBox 4.1.18 according to the instructions (up to a point). The point where the install differs is at the point I am instructed to copy vboxdrv.sh to /etc/init.d/vboxdrv. As no init scripts are located in this directory and the installed dir had no vboxdrv.sh within it. I let this go. VirtualBox is installed under my /usr/local tree in /usrlocal/VirtualBox. I did run 'make' and 'make install' under the '/usr/local/VirtualBox/src/vboxhost' this differs from the documentation somewhat, I am instructed to run make from within the 'src' sub dir. that dir contained only the vboxhost dir so I extrapolated and changed to the vboxhost dir and continued.
The kernal modules compiled and loaded without error:
see anythig missing?bash-4.1# lsmod
Module Size Used by
pci_stub 1397 1
vboxpci 15234 0
vboxnetadp 18259 0
vboxnetflt 17089 0
vboxdrv 1791272 3 vboxpci,vboxnetadp,vboxnetflt
usblp 11424 0
I setup links as instructed
So. I tried to set up my first virtualbox.bash-4.1# cd /usr/local/bin
bash-4.1# ls -al
total 95644
drwxr-xr-x 2 root root 4096 Jul 15 17:24 .
drwxr-xr-x 27 root root 4096 Jul 15 17:02 ..
lrwxrwxrwx 1 root root 29 Jul 15 17:24 VBoxHeadless -> /usr/local/VirtualBox/VBox.sh
lrwxrwxrwx 1 root root 29 Jul 15 17:24 VBoxManage -> /usr/local/VirtualBox/VBox.sh
lrwxrwxrwx 1 root root 29 Jul 15 17:24 VBoxSDL -> /usr/local/VirtualBox/VBox.sh
lrwxrwxrwx 1 root root 29 Jul 15 17:24 VirtualBox -> /usr/local/VirtualBox/VBox.sh
lrwxrwxrwx 1 root root 31 May 7 16:04 apachectl -> /usr/local/apache/bin/apachectl
-rwxr-xr-x 1 root root 307336 Jun 30 13:20 dcraw
-rwxr-xr-x 1 root root 6913158 May 8 11:35 filezilla
lrwxrwxrwx 1 root root 36 May 4 13:48 firefox -> /usr/local/lib64/firefox-4.0/firefox
-rwxr-xr-x 1 root root 476136 Apr 11 15:12 flash-player-properties
-rwxr-xr-x 1 root root 182012 May 8 11:35 fzputtygen
-rwxr-xr-x 1 root root 455574 May 8 11:35 fzsftp
-rwxr-xr-x 1 root root 7651148 Mar 30 00:55 mysql
lrwxrwxrwx 1 root root 30 May 7 18:06 mysqldump -> /usr/local/mysql/bin/mysqldump
-rwxr-xr-x 1 root root 817 Apr 30 16:38 pear
-rwxr-xr-x 1 root root 838 Apr 30 16:38 peardev
-rwxr-xr-x 1 root root 754 Apr 30 16:38 pecl
lrwxrwxrwx 1 root root 24 Apr 30 16:38 phar -> /usr/local/bin/phar.phar
-rwxr-xr-x 1 root root 14796 Apr 30 16:38 phar.phar
-rwxr-xr-x 1 root root 30301404 Apr 30 16:38 php
-rwxr-xr-x 1 root root 30224600 Apr 30 16:38 php-cgi
-rwxr-xr-x 1 root root 3032 Apr 30 16:38 php-config
-rwxr-xr-x 1 root root 4535 Apr 30 16:38 phpize
I triedbash-4.1# VBoxManage
/usr/local/VirtualBox/VBoxManage: error while loading shared libraries: VBoxDDU.so: cannot open shared object file: No such file or directory
I added the install dir to my path, this shouldn;t be required nor did I find anything recommending it, but can't hurt right? With this set up in /etc/profile I could remove the loinks from /usr/local/bin as well.bash-4.1# VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/local/VirtualBox/VirtualBox.so",) failed: VBoxVMM.so: cannot open shared object file: No such file or directory
This changed nothing. Same errors.bash-4.1# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/VirtualBox
Well I better check the files in the installation dir.
The libs appear to be there.bash-4.1# cd ../VirtualBox
bash-4.1# ls -al
total 81868
drwxr-xr-x 10 root root 4096 Jul 15 17:06 .
drwxr-xr-x 27 root root 4096 Jul 15 17:02 ..
-rw-r--r-- 1 root root 20137 Aug 17 2011 LICENSE
-rw-r--r-- 1 root root 5082221 Jun 20 02:32 UserManual.pdf
-rw-r--r-- 1 root root 5359 Aug 17 2011 VBox.png
-rwxr-xr-x 1 root root 3155 Aug 17 2011 VBox.sh
-rwxr-xr-x 1 root root 8040 Jun 20 02:49 VBoxAuth.so
-rwxr-xr-x 1 root root 24304 Jun 20 02:49 VBoxAuthSimple.so
-rwxr-xr-x 1 root root 123232 Jun 20 02:49 VBoxBalloonCtrl
-rwxr-xr-x 1 root root 1502 Aug 17 2011 VBoxCreateUSBNode.sh
-rwxr-xr-x 1 root root 2377424 Jun 20 02:49 VBoxDD.so
-rwxr-xr-x 1 root root 164624 Jun 20 02:49 VBoxDD2.so
-rw-r--r-- 1 root root 16000 Jun 20 02:49 VBoxDD2GC.gc
-rw-r--r-- 1 root root 23200 Jun 20 02:49 VBoxDD2R0.r0
-rw-r--r-- 1 root root 126988 Jun 20 02:49 VBoxDDGC.gc
-rw-r--r-- 1 root root 168456 Jun 20 02:49 VBoxDDR0.r0
-rwxr-xr-x 1 root root 283144 Jun 20 02:49 VBoxDDU.so
-rwxr-xr-x 1 root root 142840 Jun 20 02:49 VBoxDbg.so
-rw-r--r-- 1 root root 2031616 Jun 20 01:56 VBoxEFI32.fd
-rw-r--r-- 1 root root 2031616 Jun 20 01:56 VBoxEFI64.fd
-rwxr-xr-x 1 root root 57496 Jun 20 02:49 VBoxExtPackHelperApp
-rwxr-xr-x 1 root root 19872 Jun 20 02:49 VBoxGuestControlSvc.so
-rwxr-xr-x 1 root root 36352 Jun 20 02:49 VBoxGuestPropSvc.so
-rwxr-xr-x 1 root root 27912 Jun 20 02:49 VBoxHeadless
-rwxr-xr-x 1 root root 140048 Jun 20 02:49 VBoxHeadless.so
-rwxr-xr-x 1 root root 64840 Jun 20 02:49 VBoxKeyboard.so
-rwxr-xr-x 1 root root 991704 Jun 20 02:49 VBoxManage
-rwxr-xr-x 1 root root 9568 Jun 20 02:49 VBoxNetAdpCtl
-rwxr-xr-x 1 root root 27912 Jun 20 02:49 VBoxNetDHCP
-rwxr-xr-x 1 root root 40840 Jun 20 02:49 VBoxNetDHCP.so
-rwxr-xr-x 1 root root 139008 Jun 20 02:49 VBoxOGLhostcrutil.so
-rwxr-xr-x 1 root root 153160 Jun 20 02:49 VBoxOGLhosterrorspu.so
-rwxr-xr-x 1 root root 152480 Jun 20 02:49 VBoxOGLrenderspu.so
-rwxr-xr-x 1 root root 267944 Jun 20 02:49 VBoxPython.so
-rwxr-xr-x 1 root root 267984 Jun 20 02:49 VBoxPython2_3.so
-rwxr-xr-x 1 root root 267984 Jun 20 02:49 VBoxPython2_4.so
-rwxr-xr-x 1 root root 268336 Jun 20 02:49 VBoxPython2_5.so
-rwxr-xr-x 1 root root 267088 Jun 20 02:49 VBoxPython2_6.so
-rwxr-xr-x 1 root root 267088 Jun 20 02:49 VBoxPython2_7.so
-rwxr-xr-x 1 root root 838736 Jun 20 02:49 VBoxREM.so
-rwxr-xr-x 1 root root 4001216 Jun 20 02:49 VBoxRT.so
-rwxr-xr-x 1 root root 27904 Jun 20 02:49 VBoxSDL
-rwxr-xr-x 1 root root 219128 Jun 20 02:49 VBoxSDL.so
-rwxr-xr-x 1 root root 3103712 Jun 20 02:49 VBoxSVC
-rwxr-xr-x 1 root root 49480 Jun 20 02:49 VBoxSharedClipboard.so
-rwxr-xr-x 1 root root 882568 Jun 20 02:49 VBoxSharedCrOpenGL.so
-rwxr-xr-x 1 root root 40528 Jun 20 02:49 VBoxSharedFolders.so
-rwxr-xr-x 1 root root 4161 Oct 26 2011 VBoxSysInfo.sh
-rwxr-xr-x 1 root root 99552 Jun 20 02:49 VBoxTestOGL
-rwxr-xr-x 1 root root 7792 Jun 20 02:49 VBoxTunctl
-rwxr-xr-x 1 root root 1861680 Jun 20 02:49 VBoxVMM.so
-rwxr-xr-x 1 root root 1451344 Jun 20 02:49 VBoxXPCOM.so
-rwxr-xr-x 1 root root 54520 Jun 20 02:49 VBoxXPCOMC.so
-rwxr-xr-x 1 root root 32896 Jun 20 02:49 VBoxXPCOMIPCD
-rw-r--r-- 1 root root 474060 Jun 20 02:49 VMMGC.gc
-rw-r--r-- 1 root root 662760 Jun 20 02:49 VMMR0.r0
-rwxr-xr-x 1 root root 27912 Jun 20 02:49 VirtualBox
-rw-r--r-- 1 root root 4021028 Jun 20 02:32 VirtualBox.chm
-rwxr-xr-x 1 root root 6982944 Jun 20 02:49 VirtualBox.so
drwxr-xr-x 2 root root 4096 Jul 15 17:06 accessible
drwxr-xr-x 2 root root 4096 Jul 15 17:06 additions
drwxr-xr-x 2 root root 4096 Jul 15 17:06 components
drwxr-xr-x 13 root root 4096 Jun 20 02:46 icons
-rwxr-xr-x 1 root root 441848 Jun 20 02:49 kchmviewer
-rwxr-xr-x 1 root root 3673424 Jun 20 02:46 libQtCoreVBox.so.4
-rwxr-xr-x 1 root root 13298664 Jun 20 02:46 libQtGuiVBox.so.4
-rwxr-xr-x 1 root root 1356032 Jun 20 02:46 libQtNetworkVBox.so.4
-rwxr-xr-x 1 root root 1165728 Jun 20 02:46 libQtOpenGLVBox.so.4
-rwxr-xr-x 1 root root 181288 Jun 20 02:49 libvboxjxpcom.so
drwxr-xr-x 2 root root 4096 Jul 15 17:06 nls
-rwxr-xr-x 1 root root 269912 Jun 20 02:49 rdesktop-vrdp
drwxr-xr-x 2 root root 4096 Jun 20 02:46 rdesktop-vrdp-keymaps
-rw-r--r-- 1 root root 963196 Jun 20 02:46 rdesktop-vrdp.tar.gz
drwxr-xr-x 4 root root 4096 Jul 15 17:06 sdk
drwxr-xr-x 3 root root 4096 Jun 20 02:49 src
-rwxr-xr-x 1 root root 115296 Mar 8 07:52 vboxshell.py
-rwxr-xr-x 1 root root 12146472 Jun 20 02:49 vboxwebsrv
-rw-r--r-- 1 root root 792 Jun 20 02:46 virtualbox.desktop
-rw-r--r-- 1 root root 2148 Aug 17 2011 virtualbox.xml
-rwxr-xr-x 1 root root 9098704 Jun 20 02:49 webtest
What's left?
oh yeah, the vbox.cfg file
I'm thinkin this tells virtualBox where to find the libs, am I correct?bash-4.1# cat /etc/vbox/vbox.cfg
INSTALL_DIR=/usr/local/VirtualBox
Is there anything I'm missing? could be something real basic this is not time critical. This is my dev box at home. This is an experimental/educational setup for me. But I'd sure like to get to the next step.