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

Installing libsx

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the directory generated after the decompression.
    cd supplibs-2.2.1/src/libsx
  3. Modify the configuration.
    vim libsx_defs

    Modify the libsx_defs file. Change the value of XLIBS in line 103 to the following value:

    XLIBS = -L/path/to/libgd/lib  -lXpm -l$(XAWLIB) -lXmu -lXt -lX11
  4. Perform the configuration.
    ./configure --prefix=/path/to/libsx --build=aarch64-unknown-linux-gnu
  5. Perform the compilation and installation.
    make
    make install