在Eclipse4.2中安装dart插件时,我会收到错误,错误将出现在我身上,=> /usr/lib64 64/ eclipse /dart-sdk.zip(权限被拒绝)
而linux的dartium给了我一个错误
./chrome:加载共享库时出错: libbz2.so.1.0:无法打开共享对象文件:没有这样的文件或目录
另一个错误
./chrome:加载共享库时出错: libudev.so.0:无法打开共享对象文件:没有这样的文件或目录
发布于 2013-03-09 08:38:08
这是为了帮助那些在使用fedora 18 os时配置Dart和Dartium时出现这些错误的人。
- 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}
https://stackoverflow.com/questions/15293480
复制相似问题