标签归档:CentOS

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

搞定!

CentOS 6.5 安装GoAgent 3.1.5 出现的几个问题

1、提示WARNING – [Mar 19 16:59:00] Load Crypto.Cipher.ARC4 Failed, Use Pure Python Instead.

该问题是缺少pycrypto包所致,可以在root帐号下安装pycrypto

# yum install pycrypto

2、提示WARNING – [Mar 19 17:37:50] python-openssl not found, please install it!

该问题是缺少python-openssl包所致,可以在root帐号下安装pyOpenSSL

# yum install pyOpenSSL

3、出现错误TypeError: __init__() got an unexpected keyword argument ‘buffering’

该问题是httplib.HTTPResponse函数参数问题,可以在proxy.py文件中,找到对应行(我的是1269行),将 response = httplib.HTTPResponse(sock, buffering=True) 改为

response = httplib.HTTPResponse(sock)

4、出现错误SSLError: [Errno 1] _ssl.c:1390: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

该问题可以通过将local/CA.crt证书导入到认证机构中解决