Ubuntu 64位上jd-gui工具打开出现问题的解决方法
2014-08-11 16:22
411 查看
最近在研究APK的反编译,前期搭建环境,下载dex2jar工具和jd-gui工具,dex2jar可以把apk包里的classes.dex文件反编译成jar文件了,但是我的jd-gui运行时却报错了,提示:
error while loading shared libraries:
libgtk-x11-2.0.so.0:cannot open shared object file: No such file or directory.
这个其实是amd64位兼容32位库的问题,网上有答案说 sudo apt-get install ia32-libs-gtk,但是我做了以后还是报错:
............
The following packages have unmet dependencies:
ia32-libs:Denpens:ia32-libs-multiarch
后来我在外国一个网站上找到了解决方法,如下:
First a downgrade is required and done with the following: create the 'preferences' file:
and insert the following lines:
enter
write the file. Pin-Priority must be greater than 1000.
Then you may downgrade the offending applications with:
Then you may install packages that complained about dependencies, like
Finally, you should remove the file you just created:
because else no new updates would be found.
Hope this helps you too!
搞定,外国的人真牛逼,再次赞一下。
error while loading shared libraries:
libgtk-x11-2.0.so.0:cannot open shared object file: No such file or directory.
这个其实是amd64位兼容32位库的问题,网上有答案说 sudo apt-get install ia32-libs-gtk,但是我做了以后还是报错:
............
The following packages have unmet dependencies:
ia32-libs:Denpens:ia32-libs-multiarch
后来我在外国一个网站上找到了解决方法,如下:
First a downgrade is required and done with the following: create the 'preferences' file:
sudo vi /etc/apt/preferences
and insert the following lines:
Package: * Pin: release a=precise* Pin-Priority: 2012
enter
:wqto
write the file. Pin-Priority must be greater than 1000.
Then you may downgrade the offending applications with:
sudo apt-get dist-upgrade
Then you may install packages that complained about dependencies, like
sudo apt-get install ia32-libs-multiarch, or
sudo apt-get install ia32-libs.
Finally, you should remove the file you just created:
sudo rm /etc/apt/preferences
because else no new updates would be found.
Hope this helps you too!
搞定,外国的人真牛逼,再次赞一下。
相关文章推荐
- 关于在ubuntu16.04 64位系统上安装交叉编译工具出现错误的解决方法
- 【解决方法】Ubuntu文本编辑器gedit打开中文出现乱码的
- 安装ubuntu11.10 后出现的一系列问题及解决方法
- Ubuntu系统下Gedit 打开windows下的文本文件出现乱码解决方法
- win7 64位系统使用VS2010生成时出现中文目录乱码问题的解决方法【转】
- 已安装好的Ubuntu启动出现 busybox initramfs 问题可能的解决方法
- Ubuntu系统:sudo出现sudo:must be setuid root问题的解决方法
- 【解决方法】Ubuntu文本编辑器gedit打开中文出现乱码的
- 关于vb6自带打包工具打包后的安装文件在windows操作系统上安装出现问题的解决方法(部分转载)
- ubuntu因为内存为0出现的问题及解决方法
- 64位系统编译radiusplugin出现问题解决方法
- 我在安装TFS 2008的时候遇到的问题以及解决方法一sharepoint 安装 打开站点 出现服务器不可用问题
- 【转】Ubuntu vi 方向键出现字母问题解决方法
- ubuntu系统下gedit 打开GBK字符集编码文件出现乱码问题解决办法
- 关于IIS6.0配置网站打开出现空白问题解决方法
- Ubuntu下运行Goagent出现Address already in use问题解决方法
- Ubuntu vi 方向键出现字母问题解决方法
- Ubuntu系统下运行Eclipse出现找不到jre的问题的解决方法
- Ubuntu系统下运行Eclipse出现找不到jre的问题的解决方法
- ubuntu下java配置环境变量出现问题的解决方法