在Ubuntu 15.04上安装Genymotion 2.6.0 [英] Install Genymotion 2.6.0 on Ubuntu 15.04
问题描述
在安装Ubuntu 15.04 Genymotion 后,它无法启动并出现以下错误.
After installing the Ubuntu 15.04 Genymotion it failed to start with the following error.
genymotion: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory
所以我安装了libdouble-conversion1
,但是它仍然无法以以下日志输出开头.
So I installed libdouble-conversion1
, but it still failed to start with the following log output.
命令输出:
genymotion
Logging activities to file: ~/.Genymobile/genymotion.log
Aborted (core dumped)
日志输出:
Jan 9 13:40:10 [Genymotion] [Fatal] This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.
推荐答案
因此,在搜索后,我发现日志条目可能是由于QT xcb插件所需的缺少库引起的.
So after searching I found that the log entry was probably caused by missing libraries needed by the QT xcb plugin.
所以我对libqxcb.so
库运行了ldd
.
cd genymotion/platforms
ldd libqxcb.so | grep "not found"
libxcb-render-util.so.0 => not found
libxcb-image.so.0 => not found
libxcb-icccm.so.4 => not found
libxcb-randr.so.0 => not found
libxcb-keysyms.so.1 => not found
libxcb-xkb.so.1 => not found
libxkbcommon-x11.so.0 => not found
libQt5DBus.so.5 => not found
libQt5Gui.so.5 => not found
libQt5Core.so.5 => not found
因此,Genymotion假定已安装了许多与QT xcb插件相关的库. libQt*
库可以忽略,因为它们包含在Genymotion安装程序自身中.
So there are a lot of libraries related to the QT xcb plugin that Genymotion assumes are installed. The libQt*
libraries can be ignored because they are contained within the Genymotion install it's self.
在安装这些库之后,Genymotion正常运行.
After installing these libraries Genymotion started fine.
sudo aptitude install libdouble-conversion1 libxcb-render-util0 libxcb-image0 libxcb-icccm4 libxcb-randr0 libxcb-keysyms1 libxcb-xkb1 libxkbcommon-x11-0
这篇关于在Ubuntu 15.04上安装Genymotion 2.6.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!