ubuntu11.10启动vbox报错libGL.so.1的问题
安装了vbox
启动的时候报错VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libGL.so.1: cannot open shared object file: No such file or directory www.zhishiwu.com
# objdump -p /usr/lib/virtualbox/VirtualBox.so
# ldd /usr/lib/virtualbox/VirtualBox.so linux-gate.so.1 => (0xb770e000)
libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xb71eb000)
libGL.so.1 => not found
VBoxVMM.so => /usr/lib/virtualbox/VBoxVMM.so (0xb6fc4000)
VBoxKeyboard.so => /usr/lib/virtualbox/VBoxKeyboard.so (0xb6fb5000)
VBoxRT.so => /usr/lib/virtualbox/VBoxRT.so (0xb6e9b000)
libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb6e90000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb6e7d000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb6d46000)
VBoxXPCOM.so => /usr/lib/virtualbox/VBoxXPCOM.so (0xb6c49000)
libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xb69a8000)
libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb5ee2000)
libQtNetwork.so.4 => /usr/lib/i386-linux-gnu/libQtNetwork.so.4 (0xb5da6000)
www.zhishiwu.com
#find / -name libGL.so.1
如果有就cp到/usr/lib/i386-linux-gnu/ 下 再重新启动vbox 就可以了
若是没有就执行 #apt-file search libGL.so.1 找到是那个安装包里含有,然后apt-get install package
需要先 #apt-get install apt-file #apt-file update
作者 _Go_Home