Rate This Document
Findability
Accuracy
Completeness
Readability

Installing gp-xerces

To ensure that Greenplum can successfully compile GPORCA, install gp-xerces.

  1. Go to the directory.
    cd /opt/tool 
  2. Download the gp-xerces source code and upload it to /opt/tool.

    Download link of the gp-xerces source code: https://gitee.com/WilliamLeoV/gp-xerces/tree/v3.1.2-p1/

  3. Decompress the package and install gp-xerces.
    tar -xvf v3.1.2-p1
    cd gp-xerces-3.1.2-p1 
    ./configure
    make -j `nproc`
  4. Set environment variables and load the dynamic library.
    vim /etc/profile
    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
    source /etc/prfile