月度归档:2014年04月

CentOS 6.5安装Wiring

1、unzip解压缩Wiring-0100.tar.gz

$ unizip Wiring-0100.tar.gz

2、运行wiring,报libXtst.so.6不存在。

$ ./wiring 
$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/wanghj/dev/wiring-0100/java/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

3、安装libXtst.so.6

# yum install libXtst.so.6

ok

CentOS 6.5安装Octave

通过yum安装

# yum install octave

运行octave,报错提示

$ octave
octave: error while loading shared libraries: libhdf5.so.6: cannot open shared object file: No such file or directory

安装hdf5

# yum install hdf5

仍然报错,在/usr/lib64目录下做软链接

# cd /usr/lib64/
# ln -s libhdf5.so.7 libhdf5.so.6

搞定!