解决error while loading shared libraries: libXxf86vm.so.1:

在utuntu14 X86上下啦jd-gui,运行报错:

./jd-gui: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory

百度不得其解,搜狗乎,得解!


from: http://www.mjt.me.uk/posts/getting-jd-gui-to-work-on-ubuntu-13.10/

So you’ve just downloaded the latest versionof jd-gui for linux but itdoesn’t start.

TLDR:

sudo apt-get install libgtk2.0-0:i386 libxxf86vm1:i386libsm6: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!

上面原文连接:http://blog.sina.com.cn/s/blog_73eefef20101cwt2.html


意思就是执行

sudo apt-get install libgtk2.0-0:i386 libxxf86vm1:i386libsm6:i386 lib32stdc++6

安装i386的依赖库即可



jd-gui 下载 http://jd.benow.ca/http://jd.benow.ca/

你可能感兴趣的:(linux学习)