jd-gui 默认只能在ubuntu 32位的环境下运行。
要成功运行我们需要安装一下组件:
sudo apt-get install libgtk2.0-0:i386 libxxf86vm1:i386 libsm6:i386 lib32stdc++6
运行处理如下:
$ ./jd-gui
./jd-gui: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
$ sudo apt-get install libgtk2.0-0:i386
$ ./jd-gui
./jd-gui: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory
$ sudo apt-get install libxxf86vm1:i386
$ ./jd-gui
./jd-gui: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory
$ sudo apt-get install libsm6:i386
$ ./jd-gui
./jd-gui: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
$ sudo apt-get install lib32stdc++6
$ ./jd-gui
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
(jd-gui:4746): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
...And it works!
原文如下:
So you've just downloaded the latest version of jd-gui for linux but it doesn't start.
TLDR:
sudo apt-get install libgtk2.0-0:i386 libxxf86vm1:i386 libsm6:i386 lib32stdc++6
More details:
Here's the process I went through:
$ ./jd-gui ./jd-gui: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory $ sudo apt-get install libgtk2.0-0:i386 $ ./jd-gui ./jd-gui: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory $ sudo apt-get install libxxf86vm1:i386 $ ./jd-gui ./jd-gui: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory $ sudo apt-get install libsm6:i386 $ ./jd-gui ./jd-gui: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory $ sudo apt-get install lib32stdc++6 $ ./jd-gui Gtk-Message: Failed to load module "overlay-scrollbar" Gtk-Message: Failed to load module "unity-gtk-module" (jd-gui:4746): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", ...And it works!
Happy decompiling!
原文链接如下: