Installing gp-xerces
To ensure that Greenplum can successfully compile GPORCA, install gp-xerces.
- Go to the directory.
cd /opt/tool
- Download the gp-xerces source code and upload it to /opt/tool.
- Decompress the package and install gp-xerces.
tar -xvf v3.1.2-p1 cd gp-xerces-3.1.2-p1 ./configure make -j `nproc`
- Set environment variables and load the dynamic library.
vim /etc/profile export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib source /etc/prfile
Parent topic: Configuring the Compilation Environment