薄荷:genymotion安装错误

时间:2015-12-12 10:48:56

标签: android installation genymotion mint xcb

我是Mint的新手。我从/ home / user / Android目录中的.bin文件安装了Genymotion模拟器。当我尝试执行Genymotion时,我会收到这样的消息:

  

/ Android / genymotion $ ./genymotion

     

./ genymotion:加载共享库时出错:   libdouble-conversion.so.1:无法打开共享对象文件:没有这样的   文件或目录

正如我从快速搜索中所理解的,我应该链接此转换库。但我知道做错了什么;)有人可以建议这样做的正确方法。最好有一些解释。

更新

在我使用@Atheror建议后,我收到了另一条消息:

  

./ genymotion

     

./ genymotion:/usr/lib/x86_64-linux-gnu/libstdc++.so.6:版本   找不到`CXXABI_1.3.8'(需要   /opt/genymobile/genymotion/libQt5Core.so.5)

     

./ genymotion:/usr/lib/x86_64-linux-gnu/libstdc++.so.6:版本   找不到'GLIBCXX_3.4.20'(需要   /opt/genymobile/genymotion/libQt5WebKit.so.5)

     

./ genymotion:/usr/lib/x86_64-linux-gnu/libstdc++.so.6:版本   找不到`CXXABI_1.3.8'(需要   /opt/genymobile/genymotion/libicui18n.so.52)

     

./ genymotion:/usr/lib/x86_64-linux-gnu/libstdc++.so.6:版本   找不到`CXXABI_1.3.8'(需要   /opt/genymobile/genymotion/libicuuc.so.52)

     

./ genymotion:/usr/lib/x86_64-linux-gnu/libstdc++.so.6:版本   找不到`CXXABI_1.3.8'(需要   /opt/genymobile/genymotion/libicuuc.so.52)

更新

经过一些额外的搜索,我试图添加缺少的库。在此之后,尝试运行genymotion导致genymotion.log中的此类记录:

  

[Genymotion] [致命]此应用程序无法启动,因为它   无法找到或加载Qt平台插件“xcb”。

     

可用的平台插件有:eglfs,kms,linuxfb,minimal,   minimalegl,offscreen,xcb。

所以xcb插件可用。在web上再次快速运行之后,我发现了使用ldd命令检查依赖关系的建议并得到了:

平台#ldd libqxcb.so

linux-vdso.so.1 =>  (0x00007ffff97ec000)
libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f6b14c5d000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f6b14a4d000)
libxcb-render-util.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render-util.so.0 (0x00007f6b14849000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f6b14641000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f6b14425000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6b14221000)
libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f6b1400a000)
libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f6b13e01000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f6b13be2000)
libxcb-image.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007f6b139dd000)
libxcb-icccm.so.4 => /usr/lib/x86_64-linux-gnu/libxcb-icccm.so.4 (0x00007f6b137d8000)
libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f6b135d2000)
libxcb-xfixes.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f6b133cb000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f6b131c8000)
libxcb-randr.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007f6b12fbb000)
libxcb-shape.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f6b12db7000)
libxcb-keysyms.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007f6b12bb4000)
libxcb-xkb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f6b1299a000)
libxkbcommon-x11.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007f6b12792000)
libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f6b12558000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f6b1231c000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f6b12079000)
libQt5DBus.so.5 => /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f6b11dfa000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f6b11af2000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f6b118e8000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6b115b3000)
libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f6b10f66000)
libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f6b108c0000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f6b1062e000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6b10410000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6b10103000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6b0fdfd000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6b0fa38000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f6b0f826000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f6b0f621000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6b14e5f000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6b0f41d000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f6b0f217000)
libxcb-util.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007f6b0f010000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6b0ede6000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6b0ebcd000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f6b0e9a7000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f6b0e762000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6b0e524000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f6b0e2cf000)
libicui18n.so.52 => /usr/lib/x86_64-linux-gnu/libicui18n.so.52 (0x00007f6b0dec8000)
libicuuc.so.52 => /usr/lib/x86_64-linux-gnu/libicuuc.so.52 (0x00007f6b0db4f000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6b0d947000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6b0d730000)
libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f6b0d506000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f6b0d303000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f6b0d0fd000)
libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f6b0cef8000)
libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f6b0ccf5000)
libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f6b0caf2000)
libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f6b0c8f0000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f6b0c6ea000)
libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f6b0c4dd000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f6b0c2c1000)
libicudata.so.52 => /usr/lib/x86_64-linux-gnu/libicudata.so.52 (0x00007f6b0aa54000)

所以我在linux-vdso.so.1中假设了这个问题并试图通过使用apt安装这个库来解决这个问题: sudo apt-get install linux-vdso.so.1 但是这个包不存在的错误。所以我又陷入了僵局:(

5 个答案:

答案 0 :(得分:19)

在Ubuntu 15.10上为我解决了:

sudo apt-get install libdouble-conversion1v5

在Ubuntu 14.04和MINT上它应该是:

sudo apt-get install libdouble-conversion1

希望它有所帮助。

答案 1 :(得分:6)

我在Linux Mint 17上找到了解决这个问题的方法,在这里安装了genymotion 2.7.2:How to fix: [program name] /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found (required by [program name])

我只需要这样做:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9

答案 2 :(得分:2)

The answer, based on comment of @Atheror:

It may be a problem of your Linux OS and Genymotion compatibility. Check version of your Linux using command in terminal:

inxi -S

or

cat /etc/*-release

And try to install the previous version of Genymotion.
For my Linux Mint 17 (based on Ubuntu 14.04) installing and runing 'Genymotion for Ubuntu 14.10 and older' gives no errors.

答案 3 :(得分:1)

我使用:

在xubuntu 16.04中解决了这个问题
sudo apt-get install libdouble-conversion1v5

再次运行./genymotion。

答案 4 :(得分:0)

在终端中运行以下命令(ALT + CTRL + T)

LD_LIBRARY_PATH =的/ usr /本地/ lib64下/:$ LD_LIBRARY_PATH export LD_LIBRARY_PATH

sudo add-apt-repository ppa:ubuntu-toolchain -r / test sudo apt-get update

sudo apt-get install gcc-4.9 g ++ - 4.9

之后运行genymotion。这将完美地运作