安装gp-xerces
为了确保Greenplum能够成功编译GPORCA,需要安装gp-xerces。
- 进入目录。
1
cd /opt/tool
- 下载gp-xerces源码并上传至“/opt/tool”。
- 解压并安装gp-xerces。
1 2 3 4
tar -xvf v3.1.2-p1 cd gp-xerces-3.1.2-p1 ./configure make -j `nproc`
- 设置环境变量,加载动态库。
1 2 3
vim /etc/profile export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib source /etc/prfile
父主题: 配置编译环境