Jshon的安装需要Jansson支持:http://www.digip.org/jansson/
#cd /software
# wget http://www.digip.org/jansson/releases/jansson-2.5.tar.gz # tar -zxvf jansson-2.5.tar.gz # cd jansson-2.5 # ./configure && make && make install # cd /software # wget http://kmkeen.com/jshon/jshon.tar.gz # tar -zxvf jshon.tar.gz # cd jshon-2012091 # make
# ln -s /usr/local/lib/libjansson.so.4 /usr/lib64/libjansson.so.4