1 准备autoconf工具
yum -y install autoconf automake libtool
2 准备g++编译器
yum -y install gcc gcc-c++
3 下载并安装libspatialindex库
./autogen.sh
./configure
make
make install
4 设置环境变量
export LD_LIBRARY_PATH=/usr/local/lib