在CentOS 6.5上飞镖

时间:2014-12-12 10:50:40

标签: dart centos6.5

我试图在CentOS 6.5计算机上启动并运行。 到目前为止,我得到的最远的是让Dart Editor 64位运行。 当点击在Dartium中运行时,我收到以下错误:"无法启动pub serve或连接到pub"

从命令行运行Dart时,我可以在命令行中看到以下错误:

  

!ENTRY com.google.dart.tools.core 4 0 2014-12-12 12:22:51.067!MESSAGE   发布列表失败,/ home / grim / Apps / dart / dart-sdk / bin / dart:   /lib64/libc.so.6:version GLIBC_2.15' not found (required by /home/grim/Apps/dart/dart-sdk/bin/dart) /home/grim/Apps/dart/dart-sdk/bin/dart: /lib64/libc.so.6: version GLIBC_2.14'没找到(需要   /家庭/严峻/应用程序/镖/镖-SDK / bin中/镖)

ldd -v /bin/sh我可以看到我正在运行比2.14更新的版本2.3:

libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003d3c600000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f2943db3000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2943a1f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2943802000)
/lib64/ld-linux-x86-64.so.2 (0x0000003134e00000)

Version information:
/bin/sh:
        libdl.so.2 (GLIBC_2.2.5) => /lib64/libdl.so.2
        libc.so.6 (GLIBC_2.4) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.11) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.3.4) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
/usr/lib64/libesets_pac.so:
        libdl.so.2 (GLIBC_2.2.5) => /lib64/libdl.so.2
        ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
        libpthread.so.0 (GLIBC_2.2.5) => /lib64/libpthread.so.0
        libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.3.2) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.3.3) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
/lib64/libtinfo.so.5:
        libc.so.6 (GLIBC_2.4) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.3.4) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
/lib64/libdl.so.2:
        ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
        libc.so.6 (GLIBC_PRIVATE) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
/lib64/libc.so.6:
        ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
        ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
/lib64/libpthread.so.0:
        ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
        ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux-x86-64.so.2
        ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
        libc.so.6 (GLIBC_2.3.2) => /lib64/libc.so.6
        libc.so.6 (GLIBC_PRIVATE) => /lib64/libc.so.6
        libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6

我是否需要降级GLIBC(我猜不推荐?)或新版本的simlink是否足以修复它?

更新: 看看simlink,我可以看到我实际上在2.12:

lrwxrwxrwx 1 root root 12 Dec  9 11:03 /lib64/libc.so.6 -> libc-2.12.so

1 个答案:

答案 0 :(得分:2)

这是一个未解决的问题(不是CentOS特定的)https://code.google.com/p/dart/issues/detail?id=11880 讨论包含一些解决方法。

https://github.com/sestegra/patch-dartsdk-linux包含源代码补丁。

https://askubuntu.com/questions/161284提供了一些通用背景信息 另见
- How to upgrade glibc from version 2.13 to 2.15 on Debian?(我在Debian上使用的解决方法)
- http://japhr.blogspot.co.at/2014/09/dart-content-shell-on-debian.html