我要评分
获取效率
正确性
完整性
易理解

Compiling the Dynamic Library

Compile the obtained installation package and build dependencies to generate a dynamic library. The following provides an example.

The compilation example in this section is for reference only. You need to control the security of compilation options.

  1. Obtain the Makefile and upload it to the /root/glz directory on the server.
  2. Start compilation.
    1
    make
    

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

  3. Place the compiled 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