首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何配置eclipse中的Dart插件和Fedora 18 x86_64中的Dartium

问如何配置eclipse中的Dart插件和Fedora 18 x86_64中的Dartium
EN

Stack Overflow用户
提问于 2013-03-08 11:57:33
回答 1查看 1.4K关注 0票数 1

在Eclipse4.2中安装dart插件时,我会收到错误,错误将出现在我身上,=> /usr/lib64 64/ eclipse /dart-sdk.zip(权限被拒绝)

而linux的dartium给了我一个错误

./chrome:加载共享库时出错: libbz2.so.1.0:无法打开共享对象文件:没有这样的文件或目录

另一个错误

./chrome:加载共享库时出错: libudev.so.0:无法打开共享对象文件:没有这样的文件或目录

EN

回答 1

Stack Overflow用户

发布于 2013-03-09 08:38:08

这是为了帮助那些在使用fedora 18 os时配置Dart和Dartium时出现这些错误的人。

  • 在eclipse中安装dart插件时,{我正在使用来自fedora官方存储库的Eclipse,即Juno4.2.1&任何4.2及以上版本都可以使用此过程}

代码语言:javascript
复制
- add the following URL [ [http://www.dartlang.org/eclipse/update](http://www.dartlang.org/eclipse/update) ] to the list of available software sites in your Eclipse installation (Window > Preferences > Install/Update > Available Software Sites):
- After  the downloading and installation procesess finish you will be asked to restart eclipse .
- An error of will appear as it happened to me  =>  /usr/lib64/eclipse/dart-sdk.zip (Permission denied)  -Panic not but if you try to change permission on the  /usr/lib64/eclipse/ may be to chmod -R 777 eclipse will fail to start  if you do so change back to chmod -R 755 .it will start normally . -The solution i used was to comment this line -preventMasterEclipseLaunch on top of eclipse.ini. -Install the dart plugin and you are off to dart web apps creation. -If you also need the dartium working errors of : 
    1. ./chrome: error while loading shared libraries:  libbz2.so.1.0: cannot open shared object file: No such file or directory it might complain of  ./chrome: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

​

2 ./chrome:加载共享库时出错: libudev.so.0:无法打开共享对象文件:没有这样的文件或目录,它可能会抱怨./chrome:错误时加载共享库: libudev.so.0:无法打开共享对象文件:没有这样的文件或目录。

为此,我有两种解决方案:1.定位系统中两个库的位置,并按如下方式执行指向/usr/lib/或usr/lib 64的符号链接:您可以使用locate命令或find命令来找到libbz2.so.1.0,如果找到了,请执行ln -s {/path/ to /libbz2.so.1.0} {/path/ to /dartium/libbz2.so.1.0},以后再定位libudev.so.0,如果找到了do ln -s {/path/to/{/path/to/dartium/libudev.so.0}

  1. 如果系统中已经有谷歌铬,您可以从您的铬的安装目录复制这两个库,我所做的是cp -rfv /opt/ google /libbz2.so.1.0/usr/ did 64/ cp -rfv /-rfv/google/ chrome /libudev.so.0/usr/did 64/3。
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15293480

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档