原文http://blog.csdn.net/a252228180/article/details/7367743
# cd /home/lesterpang/fs/json-c-0.9/
# ./configure
# make
# make install
#sudo vim /etc/ld.so.conf //增加下面一句话
include /usr/local/lib
编译用下面的命令
gcc -std=c99 -o json_test json_test.c -ljson -I/usr/local/include/json/ -L/usr/local/lib/