Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling the Dynamic Library

  1. Compile the obtained installation package and build dependencies to generate a dynamic library. The following is an example of compiling a dynamic library (for reference only):
    • Method 1: Obtain the package from the following link:

      https://github.com/kunpengcompute/kps/releases

    • Method 2: Run the following command to download the package:
      1
      wget https://github.com/kunpengcompute/kps/releases/download/glz/Makefile --no-check-certificate
      

    Download the Makefile file to the /root/glz directory.

    The preceding compilation example is for reference only. You need to control the security of compilation options on your own.

  2. Start compilation.
    1
    make
    

    If libglz.so is displayed in the current directory, the compilation is complete.

  3. Place the complied file in the system library directory/usr/lib64 and the header file in the /usr/include directory.
    1
    2
    cp libglz.so /usr/lib64
    cp glz.h /usr/include