Installing libsx
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the directory generated after the decompression.
cd supplibs-2.2.1/src/libsx
- 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
- Perform the configuration.
./configure --prefix=/path/to/libsx --build=aarch64-unknown-linux-gnu
- Perform the compilation and installation.
make make install
Parent topic: Configuring the Compilation Environment