Installing GSL
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the GSL installation package.
tar -xvf gsl-2.6.tar.gz
- Go to the directory generated after the decompression.
cd gsl-2.6
- Perform the configuration.
./configure --prefix=/path/to/EXTRA/GSL
- Perform the compilation and installation.
make make install
If "error adding symblis:DSO missing from command line" is reported during the compilation, check the environment variables. The environment variables you configured in Installing ELPA affect the compilation in Installing GSL. Solution: Run the following command to delete the LDFLAGS, CFLAGS, CXXFLAGS, FCFLAGS, and LIBS environment variables:unset LDFLAGS CFLAGS CXXFLAGS FCFLAGS LIBS
- Set the environment variables.
export LIBRARY_PATH=/path/to/EXTRA/GSL/lib:$LIBRARY_PATH export LD_LIBRARY_PATH=/path/to/EXTRA/GSL/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment